mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
Fixes bug where median doesnt trigger capsnego
Original commit message from CVS: Fixes bug where median doesnt trigger capsnego
This commit is contained in:
parent
5b4180eca8
commit
b55bc35162
1 changed files with 4 additions and 0 deletions
|
@ -137,6 +137,10 @@ gst_median_sinkconnect (GstPad *pad, GstCaps *caps)
|
|||
gst_caps_get_int (caps, "width", &filter->width);
|
||||
gst_caps_get_int (caps, "height", &filter->height);
|
||||
|
||||
/* forward to the next plugin */
|
||||
if (!gst_pad_try_set_caps(filter->srcpad, gst_caps_copy_1(caps)))
|
||||
return GST_PAD_CONNECT_REFUSED;
|
||||
|
||||
return GST_PAD_CONNECT_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue