projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50d5d0a
)
videoaggregator: Remove pixel-aspect-ratio field from the caps returned by getcaps
author
Thibault Saunier
<tsaunier@gnome.org>
Mon, 6 Jul 2015 16:51:07 +0000
(18:51 +0200)
committer
Thibault Saunier
<tsaunier@gnome.org>
Mon, 6 Jul 2015 16:53:38 +0000
(18:53 +0200)
Avoiding not negotiated error while negotiating as we anyway force 1/1
as output
gst-libs/gst/video/gstvideoaggregator.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/video/gstvideoaggregator.c
b/gst-libs/gst/video/gstvideoaggregator.c
index
2943036
..
66549d1
100644
(file)
--- a/
gst-libs/gst/video/gstvideoaggregator.c
+++ b/
gst-libs/gst/video/gstvideoaggregator.c
@@
-866,7
+866,7
@@
gst_videoaggregator_pad_sink_getcaps (GstPad * pad, GstVideoAggregator * vagg,
"framerate", GST_TYPE_FRACTION_RANGE, 0, 1, G_MAXINT, 1, NULL);
gst_structure_remove_fields (s, "colorimetry", "chroma-site", "format",
- NULL);
+
"pixel-aspect-ratio",
NULL);
}
if (filter) {
@@
-1894,7
+1894,7
@@
gst_videoaggregator_pad_sink_acceptcaps (GstPad * pad,
"framerate", GST_TYPE_FRACTION_RANGE, 0, 1, G_MAXINT, 1, NULL);
gst_structure_remove_fields (s, "colorimetry", "chroma-site", "format",
- NULL);
+
"pixel-aspect-ratio",
NULL);
}
modified_caps = gst_caps_intersect (accepted_caps, template_caps);