mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
ext/flac/: length is already host endian, no need to convert. Fixes playback of tagged files on PPC. (bug #128384)
Original commit message from CVS: 2004-01-14 Benjamin Otte <in7y118@public.uni-hamburg.de> * ext/flac/gstflacdec.c: (gst_flacdec_update_metadata): * ext/flac/gstflacenc.c: (add_one_tag): length is already host endian, no need to convert. Fixes playback of tagged files on PPC. (bug #128384)
This commit is contained in:
parent
ab09da70c0
commit
6796f7f2d1
2 changed files with 3 additions and 2 deletions
|
@ -1,8 +1,9 @@
|
|||
2004-01-14 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||
|
||||
* ext/flac/gstflacdec.c: (gst_flacdec_update_metadata):
|
||||
* ext/flac/gstflacenc.c: (add_one_tag):
|
||||
length is already host endian, no need to convert. Fixes playback of
|
||||
tagged files on PPC.
|
||||
tagged files on PPC. (bug #128384)
|
||||
|
||||
2004-01-13 Julien MOUTTE <julien@moutte.net>
|
||||
|
||||
|
|
|
@ -476,7 +476,7 @@ add_one_tag (const GstTagList *list, const gchar *tag,
|
|||
comments = gst_tag_to_vorbis_comments (list, tag);
|
||||
for (it = comments; it != NULL; it = it->next) {
|
||||
FLAC__StreamMetadata_VorbisComment_Entry commment_entry;
|
||||
commment_entry.length = GUINT32_TO_LE (strlen(it->data));
|
||||
commment_entry.length = strlen(it->data);
|
||||
commment_entry.entry = it->data;
|
||||
FLAC__metadata_object_vorbiscomment_insert_comment (flacenc->meta[0],
|
||||
flacenc->meta[0]->data.vorbis_comment.num_comments,
|
||||
|
|
Loading…
Reference in a new issue