av: Add WMV3 format for WMV 3 caps
authorMatej Knopp <matej.knopp@gmail.com>
Tue, 9 Apr 2013 20:13:42 +0000 (22:13 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 15 Apr 2013 10:42:01 +0000 (12:42 +0200)
ext/libav/gstavcodecmap.c

index a760b68..cac15ee 100644 (file)
@@ -1362,7 +1362,7 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
     case CODEC_ID_WMV3:
       caps =
           gst_ff_vid_caps_new (context, NULL, codec_id, encode, "video/x-wmv",
-          "wmvversion", G_TYPE_INT, 3, NULL);
+          "wmvversion", G_TYPE_INT, 3, "format", G_TYPE_STRING, "WMV3", NULL);
       break;
     case CODEC_ID_VC1:
       caps =