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
This commit is contained in:
parent
2987e66f22
commit
f9e4fae0b3
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user