[Tizen] Revert "Changed Player Internal API accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.015005 accepted/tizen/5.5/unified/mobile/hotfix/20201027.075151 accepted/tizen/unified/20191015.012018 submit/tizen/20191014.065317 submit/tizen_5.5/20191031.000005 submit/tizen_5.5_mobile_hotfix/20201026.185105 tizen_5.5.m2_release
authorJiyun Yang <ji.yang@samsung.com>
Mon, 14 Oct 2019 06:33:58 +0000 (15:33 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Mon, 14 Oct 2019 06:34:02 +0000 (15:34 +0900)
This reverts commit 6f5ebdb1b22f347f4bea579723bc29a4c56d69c0.

Change-Id: Ib8421600bcc0ba1652b81c1bfe0e5c8c38b46ae3

dali-extension/video-player/ecore-wl/tizen-video-player-ecore-wl.cpp
dali-extension/video-player/ecore-wl/tizen-video-player.h
dali-extension/video-player/ecore-wl2/tizen-video-player-ecore-wl2.cpp
dali-extension/video-player/ecore-wl2/tizen-video-player.h

index ebd3895..50b7bf8 100755 (executable)
@@ -220,7 +220,7 @@ TizenVideoPlayer::TizenVideoPlayer()
   mPacketVector(),
   mEcoreWlWindow( NULL ),
   mAlphaBitChanged( false ),
-  mCodecType( PLAYER_CODEC_TYPE_DEFAULT ),
+  mCodecType( PLAYER_VIDEO_CODEC_TYPE_EX_DEFAULT ),
   mStreamInfo( NULL ),
   mStreamType( SOUND_STREAM_TYPE_MEDIA )
 {
@@ -813,14 +813,14 @@ void TizenVideoPlayer::SetCodecType( Dali::VideoPlayerPlugin::CodecType type )
 
     if( mPlayerState == PLAYER_STATE_IDLE )
     {
-      error = player_set_codec_type( mPlayer, PLAYER_STREAM_TYPE_VIDEO, static_cast< player_codec_type_e >( type ) );
+      error = player_set_video_codec_type_ex( mPlayer, static_cast< player_video_codec_type_ex_e >( type ) );
       LogPlayerError( error );
 
       if( error == PLAYER_ERROR_INVALID_OPERATION )
       {
         DALI_LOG_ERROR( "The target should not support the codec type\n" );
       }
-      error = player_get_codec_type( mPlayer, PLAYER_STREAM_TYPE_VIDEO, &mCodecType );
+      error = player_get_video_codec_type_ex( mPlayer, &mCodecType );
       LogPlayerError( error );
     }
   }
index 5876c0e..5b1a606 100755 (executable)
@@ -249,7 +249,7 @@ private:
 
   bool mAlphaBitChanged; ///< True if underlay rendering initialization changes window alpha
 
-  player_codec_type_e mCodecType;
+  player_video_codec_type_ex_e mCodecType;
 
   sound_stream_info_h mStreamInfo;
   sound_stream_type_e mStreamType;
index e8133f3..58f10a6 100755 (executable)
@@ -220,7 +220,7 @@ TizenVideoPlayer::TizenVideoPlayer()
   mPacketVector(),
   mEcoreWlWindow( NULL ),
   mAlphaBitChanged( false ),
-  mCodecType( PLAYER_CODEC_TYPE_DEFAULT ),
+  mCodecType( PLAYER_VIDEO_CODEC_TYPE_EX_DEFAULT ),
   mStreamInfo( NULL ),
   mStreamType( SOUND_STREAM_TYPE_MEDIA )
 {
@@ -805,14 +805,14 @@ void TizenVideoPlayer::SetCodecType( Dali::VideoPlayerPlugin::CodecType type )
 
     if( mPlayerState == PLAYER_STATE_IDLE )
     {
-      error = player_set_codec_type( mPlayer, PLAYER_STREAM_TYPE_VIDEO, static_cast< player_codec_type_e >( type ) );
+      error = player_set_video_codec_type_ex( mPlayer, static_cast< player_video_codec_type_ex_e >( type ) );
       LogPlayerError( error );
 
       if( error == PLAYER_ERROR_INVALID_OPERATION )
       {
         DALI_LOG_ERROR( "The target should not support the codec type\n" );
       }
-      error = player_get_codec_type( mPlayer, PLAYER_STREAM_TYPE_VIDEO, &mCodecType );
+      error = player_get_video_codec_type_ex( mPlayer, &mCodecType );
       LogPlayerError( error );
     }
   }
index 40b7dd8..ec03d74 100755 (executable)
@@ -249,7 +249,7 @@ private:
 
   bool mAlphaBitChanged; ///< True if underlay rendering initialization changes window alpha
 
-  player_codec_type_e mCodecType;
+  player_video_codec_type_ex_e mCodecType;
 
   sound_stream_info_h mStreamInfo;
   sound_stream_type_e mStreamType;