diff options
author | Joogab Yun <joogab.yun@samsung.com> | 2020-09-04 09:42:40 +0900 |
---|---|---|
committer | Joogab Yun <joogab.yun@samsung.com> | 2020-09-04 09:57:42 +0900 |
commit | 0591059c78bb613fb6204b1267b0f2ddf4c2351a (patch) | |
tree | ee571c06de121bb40793173471784fa81e317cd0 | |
parent | 84b23a9aa6d3d5fba20b5df4fd070bc9a8e865f9 (diff) | |
download | dali-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 |
[Tizen] Change the position of mTimer.Stop()tizen_7.0_m2_releasetizen_6.5.m2_releasetizen_6.0.m2_releasesubmit/tizen_6.5/20211028.163101submit/tizen_6.0_hotfix/20201103.114805submit/tizen_6.0_hotfix/20201102.192505submit/tizen_6.0/20201029.205105submit/tizen/20200916.064853accepted/tizen/unified/20200916.121619accepted/tizen/7.0/unified/hotfix/20221116.105954accepted/tizen/7.0/unified/20221110.062545accepted/tizen/6.5/unified/20211028.114543accepted/tizen/6.0/unified/hotfix/20201103.001055accepted/tizen/6.0/unified/20201030.113213tizen_7.0_hotfixtizen_7.0tizen_6.5tizen_6.0_hotfixtizenaccepted/tizen_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedaccepted/tizen_6.5_unifiedaccepted/tizen_6.0_unified_hotfix
Change-Id: I1cd3d556765d58c120fe9c7fc894aab16e8f96f0
-rwxr-xr-x | dali-extension/video-player/ecore-wl/tizen-video-player-ecore-wl.cpp | 11 | ||||
-rwxr-xr-x | dali-extension/video-player/ecore-wl2/tizen-video-player-ecore-wl2.cpp | 11 |
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 ) |