GNOME Bugzilla – Bug 751932
GstVideoDecoder: Fix setting default pixel-aspect-ratio
Last modified: 2015-08-16 13:39:33 UTC
Created attachment 306781 [details] [review] Patch with fix The attached patch fixes an issue where the decoder may try to fixate a field that does not exist. See bug https://bugzilla.gnome.org/show_bug.cgi?id=747190 for reference about default caps.
commit 008a2288652fdf25baa5af993b4ac76b0634a7ad Author: Stian Selnes <stian@pexip.com> Date: Wed Jul 1 17:09:35 2015 +0200 videodecoder: Fix setting default pixel-aspect-ratio It's needed to check if pixel-aspect-ratio exists before fixating. It does not exist if input caps is not set yet and allowed caps does not contain pixel-aspect-ratio (e.g. when using GST_VIDEO_CAPS_MAKE) https://bugzilla.gnome.org/show_bug.cgi?id=751932