For some reason, I only committed a ChangeLog entry yesterday and not the corresponding code...

Original commit message from CVS:
2004-03-06  Christophe Fergeau  <teuf@gnome.org>

For some reason, I only committed a ChangeLog entry yesterday and
not the corresponding code...
* ext/mad/gstmad.c: Fix detection of Xing headers
* gst/tags/gstid3tag.c: Changes to support TLEN tags
This commit is contained in:
Christophe Fergeau 2004-03-06 12:04:32 +00:00
parent dcf7ba5652
commit 1391986f6e
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2004-03-06 Christophe Fergeau <teuf@gnome.org>
For some reason, I only committed a ChangeLog entry yesterday and
not the corresponding code...
* ext/mad/gstmad.c: Fix detection of Xing headers
* gst/tags/gstid3tag.c: Changes to support TLEN tags
2004-03-06 Benjamin Otte <otte@gnome.org> 2004-03-06 Benjamin Otte <otte@gnome.org>
* ext/ogg/gstoggdemux.c: (gst_ogg_get_pad_by_pad), * ext/ogg/gstoggdemux.c: (gst_ogg_get_pad_by_pad),

View file

@ -919,7 +919,7 @@ gst_mad_check_restart (GstMad *mad)
* This code has been kindly relicensed to LGPL by Thibaut Mattern and * This code has been kindly relicensed to LGPL by Thibaut Mattern and
* Bastien Nocera * Bastien Nocera
*/ */
#define BE_32 GINT_FROM_BE #define BE_32(x) GINT32_FROM_BE(*(gint*)(x))
#define FOURCC_TAG( ch0, ch1, ch2, ch3 ) \ #define FOURCC_TAG( ch0, ch1, ch2, ch3 ) \
( (long)(unsigned char)(ch3) | \ ( (long)(unsigned char)(ch3) | \
@ -959,7 +959,7 @@ static int mpg123_parse_xing_header(struct mad_header *header,
double frame_duration; double frame_duration;
int xflags, xframes, xbytes, xvbr_scale; int xflags, xframes, xbytes, xvbr_scale;
int abr; int abr;
guint8 xtoc[100]; guint8 xtoc[XING_TOC_LENGTH];
/* This should be the MPEG Audio version ID /* This should be the MPEG Audio version ID
* (version 2.5, 2 or 1) least significant byte, but mad doesn't * (version 2.5, 2 or 1) least significant byte, but mad doesn't
* provide that, so assume it's always MPEG 1 * provide that, so assume it's always MPEG 1