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
+const char* VIDEO_PLUGIN_SO( "libdali2-video-player-plugin.so" );
Dali::BaseHandle Create()
{
}
}
-void VideoPlayer::Initialize()
+void VideoPlayer::Initialize( Dali::Actor actor, VideoSyncMode syncMode )
{
char* error = NULL;
return;
}
- mPlugin = mCreateVideoPlayerPtr();
+ mPlugin = mCreateVideoPlayerPtr( actor, syncMode );
if( mPlugin == NULL )
{
return NULL;
}
+void VideoPlayer::StartSynchronization()
+{
+ if( mPlugin != NULL )
+ {
+ mPlugin->StartSynchronization();
+ }
+}
+
+void VideoPlayer::FinishSynchronization()
+{
+ if( mPlugin != NULL )
+ {
+ mPlugin->FinishSynchronization();
+ }
+}
+
} // namespace Adaptor;
} // namespace Internal;
} // namespace Dali;