Commit cac75c6d authored by David King's avatar David King

Write Vorbis artwork with a depth per sample of 8

https://bugzilla.gnome.org/show_bug.cgi?id=779622
parent 99d5b3bb
......@@ -1113,9 +1113,11 @@ ogg_tag_write_file_tag (const ET_File *ETFile,
convert_to_byte_array (pic->height, array);
add_to_guchar_str (ustring, &ustring_len, array, 4);
convert_to_byte_array (0, array);
/* GdkPicbuf only supports images with 8 bits per sample. */
convert_to_byte_array (8, array);
add_to_guchar_str (ustring, &ustring_len, array, 4);
/* Non-indexed images should set this to zero. */
convert_to_byte_array (0, array);
add_to_guchar_str (ustring, &ustring_len, array, 4);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment