Lines Matching refs:mpPlayer

161     mpPlayer( NULL ),  in Player()
196 if( g_atomic_pointer_get( &mpPlayer ) ) in ~Player()
253 if( !pPlayer->mpPlayer ) in create()
277 gst_element_set_state( mpPlayer, GST_STATE_PLAYING ); in start()
288 gst_element_set_state( mpPlayer, GST_STATE_PAUSED ); in stop()
298 if( mpPlayer ) in isPlaying()
300 gst_element_get_state( mpPlayer, &aState, NULL, GST_MAX_TIMEOUT ); in isPlaying()
315 if( !gst_element_query_duration( mpPlayer, GST_FORMAT_TIME, &nDuration ) || in getDuration()
334 gst_element_seek_simple( mpPlayer, GST_FORMAT_TIME, in setMediaTime()
350 if( gst_element_query_position( mpPlayer, GST_FORMAT_TIME, &nCurTime ) && in getMediaTime()
442 g_object_set( mpPlayer, "volume", 0.0, NULL ); in setMute()
460 g_object_get( mpPlayer, "volume", &fGstVolume, NULL ); in isMute()
481 g_object_set( mpPlayer, "volume", fGstVolume, NULL ); in setVolumeDB()
553 gst_element_get_state( mpPlayer, &aOldState, NULL, GST_MAX_TIMEOUT ); in createPlayerWindow()
554 gst_element_set_state( mpPlayer, GST_STATE_READY ); in createPlayerWindow()
555 g_object_set( mpPlayer, "video-sink", pVideoSink, NULL ); in createPlayerWindow()
556 gst_video_overlay_set_window_handle( GST_VIDEO_OVERLAY( mpPlayer ), in createPlayerWindow()
558 gst_element_set_state( mpPlayer, aOldState ); in createPlayerWindow()
588 if( mpPlayer ) in disposing()
594 OSL_ASSERT( NULL == mpPlayer ); in disposing()
641 if( mpPlayer && (mnInitFail < 3) ) in implInitPlayer()
645 …if( gst_element_get_state( mpPlayer, &aState, NULL, GST_MAX_TIMEOUT ) == GST_STATE_CHANGE_SUCCESS ) in implInitPlayer()
651 gst_element_set_state( mpPlayer, GST_STATE_PAUSED ); in implInitPlayer()
652 bRet = ( gst_element_get_state( mpPlayer, &aState, NULL, in implInitPlayer()
845 if( NULL != ( mpPlayer = gst_element_factory_make( "playbin", NULL ) ) ) in run()
860 …atic_cast< GstBusSource* >( pBusSource )->mpBus = gst_pipeline_get_bus( GST_PIPELINE( mpPlayer ) ); in run()
870 g_signal_connect( GST_BIN( mpPlayer ), "element-added", in run()
874 g_object_set( mpPlayer, "uri", mpURI->str, NULL ); in run()
878 g_object_set( mpPlayer, "video-sink", gst_element_factory_make( "fakesink", NULL ), NULL ); in run()
884 …gst_video_overlay_set_window_handle( GST_VIDEO_OVERLAY( mpPlayer ), static_cast< Window* >( g_atom… in run()
889 if( gst_element_set_state( mpPlayer, GST_STATE_READY ) == GST_STATE_CHANGE_FAILURE ) in run()
891 gst_object_unref( mpPlayer ); in run()
892 mpPlayer = NULL; in run()
904 if( mpPlayer ) in run()
906 gst_element_set_state( mpPlayer, GST_STATE_NULL ); in run()
907 gst_object_unref( mpPlayer ); in run()
908 mpPlayer = NULL; in run()