diff options
author | Michael Smith <msmith@songbirdnest.com> | 2009-10-16 14:37:02 -0700 |
---|---|---|
committer | Michael Smith <msmith@songbirdnest.com> | 2009-10-16 14:37:02 -0700 |
commit | 2caac8d1755538ccb56f26927f9db3c83460e845 (patch) | |
tree | 4b360b0889458634092477b0c7fbca7dfdb9ce3d | |
parent | 47a479e6890181ac38cf8d8999c9c736ea7b69db (diff) |
id3tag: actually write image to APIC tag.
-rw-r--r-- | gst/id3tag/id3tag.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/id3tag/id3tag.c b/gst/id3tag/id3tag.c index bd481e1f3..07633343a 100644 --- a/gst/id3tag/id3tag.c +++ b/gst/id3tag/id3tag.c @@ -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 { |