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
@ -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…
x
Reference in New Issue
Block a user