Changed Player Internal API 05/213205/1
authorJoogab Yun <joogab.yun@samsung.com>
Tue, 3 Sep 2019 01:23:41 +0000 (10:23 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Tue, 3 Sep 2019 01:23:41 +0000 (10:23 +0900)
: change at the request of the multimedia team.
  https://review.tizen.org/gerrit/#/c/platform/core/api/player/+/213032/

Change-Id: I4ec3ecec5da78f990eeaeaf7a1ab61285ab9fe77

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 ebd3895a23acbb6e4bf59343ec3dc6d1d2cfad3b..50b7bf8ca84972190e562abb40e543c2fba5ff89 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 5876c0e738d307afc25b268452baa4d64423a7f1..5b1a60638ee35cd80ef7798335ce8344e7e7c25c 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 e8133f38a3221131269d5d95da8814128c26c5e9..58f10a6434f915310344ce6ad562fb8a9b5ed7a0 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 40b7dd8604b2a83e4ee95af12feb0fdfb3bb1601..ec03d74424f302c8ba67537bd692cd3dadbdd24f 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;