From 16972d8b8be7a6ee431d1182637778b2588c7c3b Mon Sep 17 00:00:00 2001 From: Bay Dam Date: Thu, 21 Sep 2017 01:07:31 +0200 Subject: [PATCH] Fix reorder warning on build --- src/core/VideoImpl.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core/VideoImpl.cpp b/src/core/VideoImpl.cpp index 4ecb3e4..5eff661 100644 --- a/src/core/VideoImpl.cpp +++ b/src/core/VideoImpl.cpp @@ -199,11 +199,15 @@ GstFlowReturn VideoImpl::gstNewSampleCallback(GstElement*, VideoImpl *p) } VideoImpl::VideoImpl() : +_width(-1), +_height(-1), +_duration(0), +_seekEnabled(false), _pipeline(NULL), _queue0(NULL), -_videoconvert0(NULL), _capsfilter0(NULL), _videoscale0(NULL), +_videoconvert0(NULL), _appsink0(NULL), _audioqueue0(NULL), _audioconvert0(NULL), @@ -214,12 +218,8 @@ _bus(NULL), _currentFrameSample(NULL), _currentFrameBuffer(NULL), _bitsChanged(false), -_width(-1), -_height(-1), -_duration(0), -//_isSeekable(false), _data(NULL), -_seekEnabled(false), +//_isSeekable(false), _rate(1.0), _movieReady(false), _playState(false),