qtmux: The prores variant is stored in the variant field, not format
authorSebastian Dröge <sebastian@centricular.com>
Fri, 17 Jun 2016 13:08:08 +0000 (16:08 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 17 Jun 2016 13:08:08 +0000 (16:08 +0300)
And the caps in the sink pad template already used variant (only).

gst/isomp4/gstqtmux.c

index 5be830b..d9e843b 100644 (file)
@@ -4084,7 +4084,7 @@ gst_qt_mux_video_sink_set_caps (GstQTPad * qtpad, GstCaps * caps)
   } else if (strcmp (mimetype, "video/x-prores") == 0) {
     const gchar *variant;
 
-    variant = gst_structure_get_string (structure, "format");
+    variant = gst_structure_get_string (structure, "variant");
     if (!variant || !g_strcmp0 (variant, "standard"))
       entry.fourcc = FOURCC_apcn;
     else if (!g_strcmp0 (variant, "lt"))