Commit b55bc351 authored by Ronald S. Bultje's avatar Ronald S. Bultje

Fixes bug where median doesnt trigger capsnego

Original commit message from CVS:
Fixes bug where median doesnt trigger capsnego
parent 5b4180ec
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment