projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89a2f0a
)
v4l2transform: allow to change pixel aspect ratio
author
Philipp Zabel
<p.zabel@pengutronix.de>
Fri, 20 May 2016 10:49:53 +0000
(12:49 +0200)
committer
Nicolas Dufresne
<nicolas.dufresne@collabora.com>
Mon, 6 Jun 2016 21:50:41 +0000
(17:50 -0400)
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
patch
|
blob
|
history
diff --git
a/sys/v4l2/gstv4l2transform.c
b/sys/v4l2/gstv4l2transform.c
index
7819129
..
2e29f10
100644
(file)
--- 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));
}