From e6fd46601cd602f5a123acedd0711ad34ac42ba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 29 Sep 2016 14:48:29 +0300 Subject: [PATCH] videodecoder: Proxy field order to the output caps https://bugzilla.gnome.org/show_bug.cgi?id=771376 --- gst-libs/gst/video/gstvideodecoder.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst-libs/gst/video/gstvideodecoder.c b/gst-libs/gst/video/gstvideodecoder.c index fdbc7d2c76..eb9dd29820 100644 --- a/gst-libs/gst/video/gstvideodecoder.c +++ b/gst-libs/gst/video/gstvideodecoder.c @@ -670,6 +670,9 @@ _new_output_state (GstVideoFormat fmt, guint width, guint height, tgt->fps_n = ref->fps_n; tgt->fps_d = ref->fps_d; tgt->views = ref->views; + + GST_VIDEO_INFO_FIELD_ORDER (tgt) = GST_VIDEO_INFO_FIELD_ORDER (ref); + if (GST_VIDEO_INFO_MULTIVIEW_MODE (ref) != GST_VIDEO_MULTIVIEW_MODE_NONE) { GST_VIDEO_INFO_MULTIVIEW_MODE (tgt) = GST_VIDEO_INFO_MULTIVIEW_MODE (ref); GST_VIDEO_INFO_MULTIVIEW_FLAGS (tgt) =