X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Fcommon%2Fvideo-player-impl.cpp;h=50e3e6b5c6067529bc25ef2f0c923f79a84ea736;hb=9b639a223f9e0c389f646bbb6f09608476495c3d;hp=b87f091ec1e39e15ce758527d50ceb6d6c5e1307;hpb=615875ce81de0c2006a82c028c7279f0beb936e3;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/common/video-player-impl.cpp b/adaptors/common/video-player-impl.cpp index b87f091..50e3e6b 100644 --- a/adaptors/common/video-player-impl.cpp +++ b/adaptors/common/video-player-impl.cpp @@ -38,7 +38,12 @@ namespace Adaptor namespace // unnamed namespace { + +#if _GLIBCXX_USE_CXX11_ABI const char* VIDEO_PLUGIN_SO( "libdali-video-player-plugin.so" ); +#else +const char* VIDEO_PLUGIN_SO( "libdali-video-player-plugin-cxx03.so" ); +#endif Dali::BaseHandle Create() { @@ -128,7 +133,7 @@ std::string VideoPlayer::GetUrl() return mPlugin->GetUrl(); } - return std::string( NULL ); + return std::string(); } void VideoPlayer::SetLooping(bool looping) @@ -232,6 +237,14 @@ int VideoPlayer::GetPlayPosition() return 0; } +void VideoPlayer::SetDisplayArea( DisplayArea area ) +{ + if( mPlugin != NULL ) + { + mPlugin->SetDisplayArea( area ); + } +} + void VideoPlayer::SetDisplayRotation( Dali::VideoPlayerPlugin::DisplayRotation rotation ) { if( mPlugin != NULL ) @@ -260,6 +273,22 @@ Dali::VideoPlayerPlugin::VideoPlayerSignalType& VideoPlayer::FinishedSignal() return mFinishedSignal; } +void VideoPlayer::Forward( int millisecond ) +{ + if( mPlugin != NULL ) + { + mPlugin->Forward( millisecond ); + } +} + +void VideoPlayer::Backward( int millisecond ) +{ + if( mPlugin != NULL ) + { + mPlugin->Backward( millisecond ); + } +} + } // namespace Adaptor; } // namespace Internal; } // namespace Dali;