qtdemux: strip out bogus tags from XMP atom
authorEdward Hervey <bilboed@bilboed.com>
Fri, 2 Jul 2010 10:31:31 +0000 (12:31 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 2 Jul 2010 12:39:36 +0000 (14:39 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=623366

gst/qtdemux/qtdemux.c

index b88d399..b9626ed 100644 (file)
@@ -6980,7 +6980,11 @@ qtdemux_parse_udta (GstQTDemux * qtdemux, GNode * udta)
 
     taglist = gst_tag_list_from_xmp_buffer (buf);
     gst_buffer_unref (buf);
+
+    /* Strip out bogus fields */
+
     if (taglist) {
+      gst_tag_list_remove_tag (taglist, GST_TAG_VIDEO_CODEC);
       if (qtdemux->tag_list) {
         GST_DEBUG_OBJECT (qtdemux, "Found XMP tags");