Fixed Svace Issue 12/114112/1
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Thu, 9 Feb 2017 06:59:42 +0000 (15:59 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Fri, 10 Feb 2017 05:08:04 +0000 (14:08 +0900)
- Initialized one of class member

Change-Id: Ibd97f8680686358e1184389eae7c80cb69937a8d
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
adaptors/tizen/native-render-surface-tizen.cpp
adaptors/wayland/event-handler-wl.cpp
adaptors/wayland/render-surface/render-surface-wl.cpp
adaptors/wayland/window-impl-wl.cpp
plugins/video-player/tizen-video-player.cpp

index 787507f..e02822d 100644 (file)
@@ -51,6 +51,7 @@ struct NativeRenderSurface::Impl
     mTbmFormat( isTransparent ? TBM_FORMAT_ARGB8888 : TBM_FORMAT_RGB888 ),
     mOwnSurface( false ),
     mDrawableCompleted( false ),
+    mTbmQueue( NULL ),
     mConsumeSurface( NULL ),
     mThreadSynchronization( NULL )
   {
index bc7d900..0ae57f4 100644 (file)
@@ -114,7 +114,8 @@ EventHandler::EventHandler( RenderSurface* surface, CoreEventInterface& coreEven
   mDragAndDropDetector( dndDetector ),
   mClipboardEventNotifier( ClipboardEventNotifier::Get() ),
   mClipboard( Dali::Clipboard::Get()),
-  mImpl( NULL )
+  mImpl( NULL ),
+  mPaused( false )
 {
 
 
index f8323ea..e9c1348 100644 (file)
@@ -44,7 +44,8 @@ RenderSurface::RenderSurface(Dali::PositionSize positionSize,
                                            const std::string& name,
                                            bool isTransparent)
 : mRenderNotification(NULL),
-  mColorDepth(isTransparent ? COLOR_DEPTH_32 : COLOR_DEPTH_24)
+  mColorDepth(isTransparent ? COLOR_DEPTH_32 : COLOR_DEPTH_24),
+  mEglWindow(NULL)
 {
   mWindow.mPosition = positionSize;
   mWindow.mTitle = name;
index b21fe0d..f0be235 100644 (file)
@@ -114,7 +114,8 @@ Window::Window()
   mNextIndicatorOrientation(Dali::Window::PORTRAIT),
   mIndicatorOpacityMode(Dali::Window::OPAQUE),
   mOverlay(NULL),
-  mAdaptor(NULL)
+  mAdaptor(NULL),
+  mPreferredOrientation(Dali::Window::PORTRAIT)
 {
   mEventHandler = NULL;
 }
index bbcabaf..d33e234 100644 (file)
@@ -206,6 +206,7 @@ void LogPlayerError( int error )
 TizenVideoPlayer::TizenVideoPlayer()
 : mPlayer( NULL ),
   mPlayerState( PLAYER_STATE_NONE ),
+  mTbmSurface( NULL ),
   mPacket( NULL ),
   mBackgroundColor( Dali::Stage::DEFAULT_BACKGROUND_COLOR ),
   mTargetType( NativeImage )