mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 13:25:56 +00:00
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
1 changed files with 0 additions and 4 deletions
|
@ -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…
Reference in a new issue