fix interlace-mode
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 26 Jun 2012 15:15:43 +0000 (17:15 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 26 Jun 2012 15:15:43 +0000 (17:15 +0200)
gst/asfdemux/gstasfdemux.c

index 4d79e093f02c093221595eb87eb8207efdf89fbf..613d34e250d3929e965c1ca9ad306b46c8ca8b35 100644 (file)
@@ -1491,8 +1491,8 @@ gst_asf_demux_push_complete_payloads (GstASFDemux * demux, gboolean force)
           payload->interlaced);
       stream->interlaced = payload->interlaced;
       stream->caps = gst_caps_make_writable (stream->caps);
-      gst_caps_set_simple (stream->caps, "interlaced", G_TYPE_BOOLEAN,
-          stream->interlaced, NULL);
+      gst_caps_set_simple (stream->caps, "interlace-mode", G_TYPE_BOOLEAN,
+          (stream->interlaced ? "mixed" : "progressive"), NULL);
       gst_pad_set_caps (stream->pad, stream->caps);
     }