id3tag: actually write image to APIC tag.
authorMichael Smith <msmith@songbirdnest.com>
Fri, 16 Oct 2009 21:37:02 +0000 (14:37 -0700)
committerMichael Smith <msmith@songbirdnest.com>
Fri, 16 Oct 2009 21:37:02 +0000 (14:37 -0700)
gst/id3tag/id3tag.c

index bd481e1..0763334 100644 (file)
@@ -700,6 +700,9 @@ add_image_tag (GstId3v2Tag * id3v2tag, const GstTagList * list,
 
         id3v2_frame_write_string (&frame, encoding, desc, TRUE);
 
+        id3v2_frame_write_bytes (&frame, GST_BUFFER_DATA (image),
+            GST_BUFFER_SIZE (image));
+
         g_array_append_val (id3v2tag->frames, frame);
       }
     } else {