• Home
  • Raw
  • Download

Lines Matching refs:video_sink

271   if (self->video_sink == NULL)  in fps_display_sink_update_sink_sync()
274 if (GST_IS_BIN (self->video_sink)) { in fps_display_sink_update_sink_sync()
275 iterator = gst_bin_iterate_sinks (GST_BIN (self->video_sink)); in fps_display_sink_update_sink_sync()
281 update_sub_sync (self->video_sink, (void *) &self->sync); in fps_display_sink_update_sink_sync()
286 update_video_sink (GstFPSDisplaySink * self, GstElement * video_sink) in update_video_sink() argument
290 if (self->video_sink) { in update_video_sink()
293 sink_pad = gst_element_get_static_pad (self->video_sink, "sink"); in update_video_sink()
302 gst_bin_remove (GST_BIN (self), self->video_sink); in update_video_sink()
303 gst_object_unref (self->video_sink); in update_video_sink()
307 self->video_sink = video_sink; in update_video_sink()
309 if (self->video_sink == NULL) in update_video_sink()
315 gst_object_ref (self->video_sink); in update_video_sink()
317 gst_bin_add (GST_BIN (self), self->video_sink); in update_video_sink()
320 sink_pad = gst_element_get_static_pad (self->video_sink, "sink"); in update_video_sink()
335 self->video_sink = NULL; in fps_display_sink_init()
457 if (!gst_element_link (self->text_overlay, self->video_sink)) { in fps_display_sink_start()
466 gst_element_unlink (self->text_overlay, self->video_sink); in fps_display_sink_start()
470 target_pad = gst_element_get_static_pad (self->video_sink, "sink"); in fps_display_sink_start()
480 gst_element_unlink (self->text_overlay, self->video_sink); in fps_display_sink_stop()
511 if (self->video_sink) { in fps_display_sink_dispose()
512 gst_object_unref (self->video_sink); in fps_display_sink_dispose()
513 self->video_sink = NULL; in fps_display_sink_dispose()
594 g_value_set_object (value, self->video_sink); in fps_display_sink_get_property()
637 if (self->video_sink == NULL) { in fps_display_sink_change_state()
638 GstElement *video_sink; in fps_display_sink_change_state() local
641 video_sink = gst_element_factory_make ("autovideosink", in fps_display_sink_change_state()
643 update_video_sink (self, video_sink); in fps_display_sink_change_state()
646 if (self->video_sink != NULL) { in fps_display_sink_change_state()