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
This commit is contained in:
Philipp Zabel 2016-05-20 12:49:53 +02:00 committed by Nicolas Dufresne
parent 89a2f0a647
commit 3eeef5fa09

View file

@ -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));
}