From 8c5b2da124ebe5cf68eaca758dd40c92ab6228b7 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Wed, 2 Sep 2015 19:16:56 -0300 Subject: [PATCH] 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 --- gst-libs/gst/video/gstvideoaggregator.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c index fe41e022fc..80b10d4452 100644 --- a/gst-libs/gst/video/gstvideoaggregator.c +++ b/gst-libs/gst/video/gstvideoaggregator.c @@ -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 %"