mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
videoaggregator: lift restriction of changing pixel-aspect-ratio
The videoaggregator can convert PAR, there is no reason for restricting it. https://bugzilla.gnome.org/show_bug.cgi?id=754291
This commit is contained in:
parent
77f68f6e10
commit
8c5b2da124
1 changed files with 1 additions and 3 deletions
|
@ -813,9 +813,7 @@ gst_videoaggregator_pad_sink_setcaps (GstPad * pad, GstObject * parent,
|
|||
|
||||
GST_VIDEO_AGGREGATOR_LOCK (vagg);
|
||||
if (GST_VIDEO_INFO_FORMAT (&vagg->info) != GST_VIDEO_FORMAT_UNKNOWN) {
|
||||
if (GST_VIDEO_INFO_PAR_N (&vagg->info) != GST_VIDEO_INFO_PAR_N (&info)
|
||||
|| GST_VIDEO_INFO_PAR_D (&vagg->info) != GST_VIDEO_INFO_PAR_D (&info) ||
|
||||
GST_VIDEO_INFO_INTERLACE_MODE (&vagg->info) !=
|
||||
if (GST_VIDEO_INFO_INTERLACE_MODE (&vagg->info) !=
|
||||
GST_VIDEO_INFO_INTERLACE_MODE (&info)) {
|
||||
GST_ERROR_OBJECT (pad,
|
||||
"got input caps %" GST_PTR_FORMAT ", but " "current caps are %"
|
||||
|
|
Loading…
Reference in a new issue