GNOME Bugzilla – Bug 660866
[videoparsers] Should passthrough framerate/pixel-aspect-ratio/etc in caps
Last modified: 2012-10-25 16:44:49 UTC
This is actually two items 1) The parsers should set the upstream framerate/pixel-aspect-ratio (as set by the demuxer for example) on the srcpad caps. Width/height and other things should probably be still taken from the stream instead. 2) The parsers should return width/height/etc constraints from downstream in their getcaps() function to upstream.
2) already seems to be the case these days. 1) is already so for some parsers, and following commit makes it so for others: commit 821c8519e0d17728d9d80447e22e9d7db5222cea Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Date: Thu Oct 25 11:31:41 2012 +0200 videoparsers: preserve upstream fps and par Fixes https://bugzilla.gnome.org/show_bug.cgi?id=660866