mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
decklinksrc: Set GST_ELEMENT_FLAG_SOURCE on the source
As it does not inherit from basesrc, this flag is not automatically set and e.g. gst_bin_iterate_sources() and other code does not consider this element a source. https://bugzilla.gnome.org/show_bug.cgi?id=680700
This commit is contained in:
parent
91787ce4f0
commit
234f3c73dc
1 changed files with 1 additions and 0 deletions
|
@ -176,6 +176,7 @@ gst_decklink_src_init (GstDecklinkSrc * decklinksrc)
|
|||
GST_DEBUG_FUNCPTR (gst_decklink_src_video_src_query));
|
||||
gst_element_add_pad (GST_ELEMENT (decklinksrc), decklinksrc->videosrcpad);
|
||||
|
||||
GST_OBJECT_FLAG_SET (decklinksrc, GST_ELEMENT_FLAG_SOURCE);
|
||||
|
||||
g_cond_init (&decklinksrc->cond);
|
||||
g_mutex_init (&decklinksrc->mutex);
|
||||
|
|
Loading…
Reference in a new issue