qtmux: write all udta children atoms
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Mon, 22 Feb 2010 19:51:00 +0000 (16:51 -0300)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 12 Apr 2011 19:32:16 +0000 (20:32 +0100)
UDTA might have META and other children atoms
together, write them all.

gst/quicktime/atoms.c

index 647bd7e..d62077e 100644 (file)
@@ -2234,7 +2234,8 @@ atom_udta_copy_data (AtomUDTA * udta, guint8 ** buffer, guint64 * size,
     if (!atom_meta_copy_data (udta->meta, buffer, size, offset)) {
       return 0;
     }
-  } else if (udta->entries) {
+  }
+  if (udta->entries) {
     /* extra atoms */
     if (!atom_info_list_copy_data (udta->entries, buffer, size, offset))
       return 0;