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()
{
return mPlugin->GetUrl();
}
- return std::string( NULL );
+ return std::string();
}
void VideoPlayer::SetLooping(bool looping)
return 0;
}
+void VideoPlayer::SetDisplayArea( DisplayArea area )
+{
+ if( mPlugin != NULL )
+ {
+ mPlugin->SetDisplayArea( area );
+ }
+}
+
void VideoPlayer::SetDisplayRotation( Dali::VideoPlayerPlugin::DisplayRotation rotation )
{
if( mPlugin != NULL )
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;