matroska: set interlace-mode
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 26 Jun 2012 15:04:41 +0000 (17:04 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 26 Jun 2012 15:04:41 +0000 (17:04 +0200)
gst/matroska/matroska-demux.c

index 15ce407..84cd829 100644 (file)
@@ -5173,7 +5173,8 @@ gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext *
       }
 
       if (videocontext->parent.flags & GST_MATROSKA_VIDEOTRACK_INTERLACED)
-        gst_structure_set (structure, "interlaced", G_TYPE_BOOLEAN, TRUE, NULL);
+        gst_structure_set (structure, "interlace-mode", G_TYPE_STRING,
+            "mixed", NULL);
     }
 
     caps = gst_caps_simplify (caps);