gst/mpegaudioparse/gstxingmux.c: Fix argument formats.

Original commit message from CVS:
2008-04-11  Julien Moutte  <julien@fluendo.com>

* gst/mpegaudioparse/gstxingmux.c: (generate_xing_header): Fix
argument formats.
This commit is contained in:
Julien Moutte 2008-04-11 08:09:55 +00:00
parent aea855b7a8
commit 719b797ad0
3 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2008-04-11 Julien Moutte <julien@fluendo.com>
* gst/mpegaudioparse/gstxingmux.c: (generate_xing_header): Fix
argument formats.
2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>

2
common

@ -1 +1 @@
Subproject commit fda6da5f2b9b000f7e1df8ffb44a6185ffd9799b
Subproject commit d3ace35f57dd196a3e83a0a48f1350ca32db8e39

View file

@ -345,8 +345,8 @@ generate_xing_header (GstXingMux * xing)
guint32 nbytes;
if (byte_count > G_MAXUINT32) {
GST_DEBUG ("Too large stream: %" G_GINT64_FORMAT " > %" G_GINT64_FORMAT
" bytes", byte_count, G_MAXUINT32);
GST_DEBUG ("Too large stream: %" G_GINT64_FORMAT " > %u bytes",
byte_count, G_MAXUINT32);
} else {
nbytes = byte_count;
GST_DEBUG ("Setting number of bytes to %u", nbytes);
@ -371,7 +371,7 @@ generate_xing_header (GstXingMux * xing)
while ((entry->timestamp * 100) / duration >= percent) {
byte = (entry->byte * 256) / byte_count;
GST_DEBUG (" %d %% -- %d 1/256", percent, byte);
GST_DEBUG (" %d %% -- %" G_GINT64_FORMAT " 1/256", percent, byte);
*data = byte;
data++;
percent++;