mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
typefind: Only push CAPS event once if we get one from upstream
https://bugzilla.gnome.org/show_bug.cgi?id=692784
This commit is contained in:
parent
2a34f767d4
commit
32e05f8a1e
1 changed files with 1 additions and 4 deletions
|
@ -613,10 +613,7 @@ gst_type_find_element_sink_event (GstPad * pad, GstObject * parent,
|
|||
{
|
||||
GstCaps *caps;
|
||||
|
||||
/* first pass the caps event downstream */
|
||||
res = gst_pad_push_event (typefind->src, gst_event_ref (event));
|
||||
|
||||
/* then parse and push out our data */
|
||||
/* Parse and push out our caps and data */
|
||||
gst_event_parse_caps (event, &caps);
|
||||
res = gst_type_find_element_setcaps (typefind, caps);
|
||||
|
||||
|
|
Loading…
Reference in a new issue