Commit f9e4fae0 authored by Nick Kallen's avatar Nick Kallen Committed by Sebastian Dröge

imagefreeze: do not cache caps

Upstream elements like videoflip can transform caps, such as changing width and height.
When an imagefreeze downstream receives an ACCEPT_CAPS query it will NOW return
all caps that it can accept.

https://bugzilla.gnome.org/show_bug.cgi?id=778389
parent 2987e66f
......@@ -265,10 +265,6 @@ gst_image_freeze_sink_getcaps (GstImageFreeze * self, GstCaps * filter)
GstPad *pad;
pad = self->sinkpad;
ret = gst_pad_get_current_caps (pad);
if (ret != NULL) {
goto done;
}
if (filter) {
filter = gst_caps_copy (filter);
......
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