mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
ext/flac/gstflacdec.c: length is already host endian, no need to convert. Fixes playback of tagged files on PPC.
Original commit message from CVS: 2004-01-14 Benjamin Otte <in7y118@public.uni-hamburg.de> * ext/flac/gstflacdec.c: (gst_flacdec_update_metadata): length is already host endian, no need to convert. Fixes playback of tagged files on PPC.
This commit is contained in:
parent
27838eebc9
commit
ab09da70c0
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2004-01-14 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||||
|
|
||||||
|
* ext/flac/gstflacdec.c: (gst_flacdec_update_metadata):
|
||||||
|
length is already host endian, no need to convert. Fixes playback of
|
||||||
|
tagged files on PPC.
|
||||||
|
|
||||||
2004-01-13 Julien MOUTTE <julien@moutte.net>
|
2004-01-13 Julien MOUTTE <julien@moutte.net>
|
||||||
|
|
||||||
* gst-libs/gst/colorbalance/colorbalance.h: Adding a type to the
|
* gst-libs/gst/colorbalance/colorbalance.h: Adding a type to the
|
||||||
|
|
|
@ -237,7 +237,7 @@ gst_flacdec_update_metadata (FlacDec *flacdec, const FLAC__StreamMetadata *metad
|
||||||
for (cursor = 0; cursor < number_of_comments; cursor++)
|
for (cursor = 0; cursor < number_of_comments; cursor++)
|
||||||
{
|
{
|
||||||
str_ptr = metadata->data.vorbis_comment.comments[cursor].entry;
|
str_ptr = metadata->data.vorbis_comment.comments[cursor].entry;
|
||||||
str_len = GUINT32_FROM_LE (metadata->data.vorbis_comment.comments[cursor].length);
|
str_len = metadata->data.vorbis_comment.comments[cursor].length;
|
||||||
p_value = g_strstr_len ( str_ptr, str_len , "=" );
|
p_value = g_strstr_len ( str_ptr, str_len , "=" );
|
||||||
if (p_value)
|
if (p_value)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue