summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@osg.samsung.com>2015-09-02 19:16:56 -0300
committerThiago Santos <thiagoss@osg.samsung.com>2015-09-03 11:18:22 -0300
commit8c5b2da124ebe5cf68eaca758dd40c92ab6228b7 (patch)
tree1cbc57c692f8596c775760d723dc47b6d6b28880 /gst-libs
parent77f68f6e108c9712792f92d8a9b92e66efc4a4fb (diff)
downloadgstreamer-plugins-bad-8c5b2da124ebe5cf68eaca758dd40c92ab6228b7.tar.gz
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
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/video/gstvideoaggregator.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c
index fe41e022f..80b10d445 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 %"