Home
last modified time | relevance | path

Searched refs:tick_source (Results 1 – 2 of 2) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst-libs/gst/transcoder/
Dgsttranscoder.c86 GSource *tick_source, *ready_timeout_source; member
477 if (self->tick_source) in add_tick_source()
483 self->tick_source = g_timeout_source_new (self->position_update_interval_ms); in add_tick_source()
484 g_source_set_callback (self->tick_source, (GSourceFunc) tick_cb, self, NULL); in add_tick_source()
485 g_source_attach (self->tick_source, self->context); in add_tick_source()
491 if (!self->tick_source) in remove_tick_source()
494 g_source_destroy (self->tick_source); in remove_tick_source()
495 g_source_unref (self->tick_source); in remove_tick_source()
496 self->tick_source = NULL; in remove_tick_source()
1055 if (self->tick_source) { in gst_transcoder_set_position_update_interval_internal()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/play/
Dgstplay.c162 GSource *tick_source, *ready_timeout_source; member
856 if (self->tick_source) in add_tick_source()
864 self->tick_source = g_timeout_source_new (position_update_interval_ms); in add_tick_source()
865 g_source_set_callback (self->tick_source, (GSourceFunc) tick_cb, self, NULL); in add_tick_source()
866 g_source_attach (self->tick_source, self->context); in add_tick_source()
872 if (!self->tick_source) in remove_tick_source()
875 g_source_destroy (self->tick_source); in remove_tick_source()
876 g_source_unref (self->tick_source); in remove_tick_source()
877 self->tick_source = NULL; in remove_tick_source()