From c0be7b1890ea8da915a81ae82bc9f504aee7cc26 Mon Sep 17 00:00:00 2001 From: Víctor Manuel Jáquez Leal Date: Thu, 27 Apr 2017 12:43:54 +0200 Subject: plugins: reject pixel-aspect-ratio with value 0/1 Do not negotiate a pixel-aspect-ratio of 0/1. https://bugzilla.gnome.org/show_bug.cgi?id=781759 --- gst/vaapi/gstvaapipluginutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/vaapi/gstvaapipluginutil.c b/gst/vaapi/gstvaapipluginutil.c index 78a46239..f3bac7de 100644 --- a/gst/vaapi/gstvaapipluginutil.c +++ b/gst/vaapi/gstvaapipluginutil.c @@ -426,7 +426,7 @@ set_video_template_caps (GstCaps * caps) "width", GST_TYPE_INT_RANGE, 1, G_MAXINT, "height", GST_TYPE_INT_RANGE, 1, G_MAXINT, "framerate", GST_TYPE_FRACTION_RANGE, 0, 1, G_MAXINT, 1, - "pixel-aspect-ratio", GST_TYPE_FRACTION_RANGE, 0, 1, G_MAXINT, 1, NULL); + "pixel-aspect-ratio", GST_TYPE_FRACTION_RANGE, 1, 1, G_MAXINT, 1, NULL); } GstCaps * -- cgit v1.2.3