mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
id3tag: actually write image to APIC tag.
This commit is contained in:
parent
47a479e689
commit
2caac8d175
1 changed files with 3 additions and 0 deletions
|
@ -700,6 +700,9 @@ add_image_tag (GstId3v2Tag * id3v2tag, const GstTagList * list,
|
||||||
|
|
||||||
id3v2_frame_write_string (&frame, encoding, desc, TRUE);
|
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);
|
g_array_append_val (id3v2tag->frames, frame);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue