GNOME Bugzilla – Bug 691580
ximagesrc sets bad pixel-aspect-ratio caps
Last modified: 2013-01-24 09:59:41 UTC
I've discovered an easily-reproducible case where videoconvert is taking a caps with a pixel-aspect-ratio of (fraction)[ 1/2147483647, 2147483647/1] and choosing 1/2147483647 for its (arbitrary) value, rather than something sane like 1/1 Arguably in this case the source should probably be providing a solid aspect ratio, rather than a range, but I think that is a separate bug. The command line that caused this was: gst-launch-1.0 ximagesrc display-name=":1" ! videoconvert ! xvimagesink display=":2" In case this doesn't behave the same for other folks, here's a link to a full log of an attempted run: https://docs.google.com/file/d/0BwCOnjTaGreOZlgwWkNBNXZsVDg/edit
The bug is here is that ximagesrc didn't set the aspect ratio correctly. It's fixed now: commit a31649e357ff2dcfa76d1e223d84ca3291037bf2 Author: Olivier Crête <olivier.crete@collabora.com> Date: Wed Jan 23 21:35:25 2013 -0500 ximagesrc: Set the pixel aspect ratio correctly in the caps
Should also be in 1.0.6