summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoogab Yun <joogab.yun@samsung.com>2020-09-04 09:42:40 +0900
committerJoogab Yun <joogab.yun@samsung.com>2020-09-04 09:57:42 +0900
commit0591059c78bb613fb6204b1267b0f2ddf4c2351a (patch)
treeee571c06de121bb40793173471784fa81e317cd0
parent84b23a9aa6d3d5fba20b5df4fd070bc9a8e865f9 (diff)
downloaddali-extension-legacy-tizen_6.0_hotfix.tar.gz
dali-extension-legacy-tizen_6.0_hotfix.tar.bz2
dali-extension-legacy-tizen_6.0_hotfix.zip
Change-Id: I1cd3d556765d58c120fe9c7fc894aab16e8f96f0
-rwxr-xr-xdali-extension/video-player/ecore-wl/tizen-video-player-ecore-wl.cpp11
-rwxr-xr-xdali-extension/video-player/ecore-wl2/tizen-video-player-ecore-wl2.cpp11
2 files changed, 12 insertions, 10 deletions
diff --git a/dali-extension/video-player/ecore-wl/tizen-video-player-ecore-wl.cpp b/dali-extension/video-player/ecore-wl/tizen-video-player-ecore-wl.cpp
index 7e65731..aa464a8 100755
--- a/dali-extension/video-player/ecore-wl/tizen-video-player-ecore-wl.cpp
+++ b/dali-extension/video-player/ecore-wl/tizen-video-player-ecore-wl.cpp
@@ -401,12 +401,13 @@ void TizenVideoPlayer::Stop()
{
int error = player_stop( mPlayer );
LogPlayerError( error );
- }
- if( mNativeImageSourcePtr != NULL && mTimer )
- {
- mTimer.Stop();
- DestroyPackets();
+ if( mNativeImageSourcePtr != NULL && mTimer )
+ {
+ mTimer.Stop();
+ DestroyPackets();
+ }
+
}
}
diff --git a/dali-extension/video-player/ecore-wl2/tizen-video-player-ecore-wl2.cpp b/dali-extension/video-player/ecore-wl2/tizen-video-player-ecore-wl2.cpp
index ffcba37..f180d59 100755
--- a/dali-extension/video-player/ecore-wl2/tizen-video-player-ecore-wl2.cpp
+++ b/dali-extension/video-player/ecore-wl2/tizen-video-player-ecore-wl2.cpp
@@ -400,13 +400,14 @@ void TizenVideoPlayer::Stop()
{
int error = player_stop( mPlayer );
LogPlayerError( error );
- }
- if( mNativeImageSourcePtr != NULL && mTimer )
- {
- mTimer.Stop();
- DestroyPackets();
+ if( mNativeImageSourcePtr != NULL && mTimer )
+ {
+ mTimer.Stop();
+ DestroyPackets();
+ }
}
+
}
void TizenVideoPlayer::SetMute( bool muted )