return mPlugin->GetUrl();
}
- return std::string( NULL );
+ return std::string();
}
void VideoPlayer::SetLooping(bool looping)
}
}
+bool VideoPlayer::IsVideoTextureSupported()
+{
+ if( mPlugin != NULL )
+ {
+ return mPlugin->IsVideoTextureSupported();
+ }
+
+ return false;
+}
+
+void VideoPlayer::SetCodecType( Dali::VideoPlayerPlugin::CodecType type )
+{
+ if( mPlugin != NULL )
+ {
+ mPlugin->SetCodecType( type );
+ }
+}
+
+Dali::VideoPlayerPlugin::CodecType VideoPlayer::GetCodecType() const
+{
+ if( mPlugin != NULL )
+ {
+ return mPlugin->GetCodecType();
+ }
+
+ return Dali::VideoPlayerPlugin::CodecType::DEFAULT;
+}
+
+void VideoPlayer::SetDisplayMode( Dali::VideoPlayerPlugin::DisplayMode::Type mode )
+{
+ if( mPlugin != NULL )
+ {
+ mPlugin->SetDisplayMode( mode );
+ }
+}
+
+Dali::VideoPlayerPlugin::DisplayMode::Type VideoPlayer::GetDisplayMode() const
+{
+ if( mPlugin != NULL )
+ {
+ return mPlugin->GetDisplayMode();
+ }
+
+ return Dali::VideoPlayerPlugin::DisplayMode::DST_ROI;
+}
+
} // namespace Adaptor;
} // namespace Internal;
} // namespace Dali;