: change at the request of the multimedia team.
https://review.tizen.org/gerrit/#/c/platform/core/api/player/+/213032/
Change-Id: I4ec3ecec5da78f990eeaeaf7a1ab61285ab9fe77
mPacketVector(),
mEcoreWlWindow( NULL ),
mAlphaBitChanged( false ),
- mCodecType( PLAYER_CODEC_TYPE_DEFAULT ),
+ mCodecType( PLAYER_VIDEO_CODEC_TYPE_EX_DEFAULT ),
mStreamInfo( NULL ),
mStreamType( SOUND_STREAM_TYPE_MEDIA )
{
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 );
}
}
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;
mPacketVector(),
mEcoreWlWindow( NULL ),
mAlphaBitChanged( false ),
- mCodecType( PLAYER_CODEC_TYPE_DEFAULT ),
+ mCodecType( PLAYER_VIDEO_CODEC_TYPE_EX_DEFAULT ),
mStreamInfo( NULL ),
mStreamType( SOUND_STREAM_TYPE_MEDIA )
{
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 );
}
}
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;