From 3eeef5fa097c23821da7297281bc2e7a24f6f1ab Mon Sep 17 00:00:00 2001 From: Philipp Zabel Date: Fri, 20 May 2016 12:49:53 +0200 Subject: [PATCH] v4l2transform: allow to change pixel aspect ratio Scalers may change width and height independently, allow to change pixel aspect ratio. https://bugzilla.gnome.org/show_bug.cgi?id=766712 --- sys/v4l2/gstv4l2transform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/v4l2/gstv4l2transform.c b/sys/v4l2/gstv4l2transform.c index 7819129..2e29f10 100644 --- a/sys/v4l2/gstv4l2transform.c +++ b/sys/v4l2/gstv4l2transform.c @@ -375,7 +375,7 @@ gst_v4l2_transform_caps_remove_format_info (GstCaps * caps) && gst_caps_features_is_equal (f, GST_CAPS_FEATURES_MEMORY_SYSTEM_MEMORY)) gst_structure_remove_fields (st, "format", "colorimetry", "chroma-site", - "width", "height", NULL); + "width", "height", "pixel-aspect-ratio", NULL); gst_caps_append_structure_full (res, st, gst_caps_features_copy (f)); } -- 2.7.4