From d23484c483d1fc8f3d3020c7426a58c81144fec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 8 Dec 2008 15:46:13 +0000 Subject: gst/mxf/mxfparse.c: All frame layout values except 0 are for interlaced video, not only 1 and 2. Original commit message from CVS: * gst/mxf/mxfparse.c: (mxf_metadata_generic_picture_essence_descriptor_set_caps): All frame layout values except 0 are for interlaced video, not only 1 and 2. --- gst/mxf/mxfparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/mxf/mxfparse.c') diff --git a/gst/mxf/mxfparse.c b/gst/mxf/mxfparse.c index e2ff891e..334c7197 100644 --- a/gst/mxf/mxfparse.c +++ b/gst/mxf/mxfparse.c @@ -2629,7 +2629,7 @@ void mxf_metadata_generic_picture_essence_descriptor_set_caps * * See SMPTE 377M E2.2 and E1.2 */ - if (descriptor->frame_layout == 1 || descriptor->frame_layout == 2) + if (descriptor->frame_layout != 0) height *= 2; if (width == 0 || height == 0) -- cgit v1.2.1