mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
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:
parent
89a2f0a647
commit
3eeef5fa09
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue