GNOME Bugzilla – Bug 350738
[ffvideoscale] GStreamer-Critical when pixel-aspects-ratio was set on both pads
Last modified: 2008-10-08 13:16:48 UTC
In the case that pixel-aspect-ratio is set to both input and output caps, ffvideoscale reports GStreamer-Critical when checking IS_MUTABLE(outstructure). The problem is that ffvideoscale allways computes pixel-aspect-ratio for source caps and sets them to the src pad. This should probably be done only if the output pad has not pixel-aspect-ratio set.
Created attachment 70638 [details] [review] Set source pixel-aspect-ratio only if it was not set before This patch will set pixel-aspect-ratio to output pads only if they were not set before. Another approach would be to copy caps negotiation from videoscale (plugins-base) but this is a bit more complicated
I was going to commit this... but it should in fact have proper negotiation as you mentionned. It's not THAT complicated to do here ,especially since you have an existing -base plugin (videoscale) to base yourself on.
This bug no longer applies to rewritten ffvideoscale (see also bug #504056).