summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2017-04-27 12:43:54 +0200
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2017-04-27 12:43:54 +0200
commitc0be7b1890ea8da915a81ae82bc9f504aee7cc26 (patch)
treeac7a7731babbf140cc2a9c173992322d1fca36a5
parent4820d2d09db1af3f23258caf029696884a65fbe7 (diff)
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
-rw-r--r--gst/vaapi/gstvaapipluginutil.c2
1 files changed, 1 insertions, 1 deletions
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 *