GNOME Bugzilla – Bug 778389
imagefreeze can return erroneous results for an accept caps query
Last modified: 2017-02-09 12:05:18 UTC
Description: videoflip can transform tags, changing width and height. An imagefreeze downstream will receive an ACCEPT_CAPS query but since imagefreeze caches its caps negotiated during a prior phase, it will claim that it cannot accept the new width and height. The following command exhibits the bug: gst-launch-1.0 -vm videotestsrc ! taginject tags=image-orientation=rotate-90 ! videoflip video-direction=auto ! imagefreeze ! fakesink
Created attachment 345303 [details] [review] Remove caps caching code
commit f9e4fae0b334548048e3e95183387aab43d6638f Author: Nick Kallen <nickkallen@me.com> Date: Thu Feb 9 12:55:32 2017 +0100 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