mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
videoaggregator: Remove pixel-aspect-ratio field from the caps returned by getcaps
Avoiding not negotiated error while negotiating as we anyway force 1/1 as output
This commit is contained in:
parent
9fb7add179
commit
c28d90de68
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue