From 436a489e65cc8cfcd94a255c586d6b2ffe975128 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Tue, 31 Aug 2004 14:12:49 +0000 Subject: [PATCH] ext/alsa/: Re-commit ALSA switches. Original commit message from CVS: * ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list): * ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new): Re-commit ALSA switches. * gst/adder/gstadder.c: (gst_adder_loop): 64-bit fix (#151416). * gst/debug/progressreport.c: (gst_progressreport_report): 64-bit fix (#151419). * gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_contents): 64-bit fix (#151420). * gst/playback/test3.c: (update_scale): 64-bit fix (#151421). --- ChangeLog | 15 +++++++++++++++ gst/debug/progressreport.c | 5 +++-- gst/matroska/matroska-demux.c | 3 ++- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c431d29c6c..f64a25833f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +2004-08-31 Ronald S. Bultje + + * ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list): + * ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new): + Re-commit ALSA switches. + * gst/adder/gstadder.c: (gst_adder_loop): + 64-bit fix (#151416). + * gst/debug/progressreport.c: (gst_progressreport_report): + 64-bit fix (#151419). + * gst/matroska/matroska-demux.c: + (gst_matroska_demux_parse_contents): + 64-bit fix (#151420). + * gst/playback/test3.c: (update_scale): + 64-bit fix (#151421). + 2004-08-31 Thomas Vander Stichele * configure.ac: diff --git a/gst/debug/progressreport.c b/gst/debug/progressreport.c index 3f17b245c2..9d8a232cda 100644 --- a/gst/debug/progressreport.c +++ b/gst/debug/progressreport.c @@ -200,12 +200,13 @@ gst_progressreport_report (GstProgressReport * progressreport, } if (got_total == TRUE) { - g_print ("%s (%2d:%2d:%2d): %lld / %lld %s (%3.2g %%)\n", + g_print ("%s (%2d:%2d:%2d): %" G_GINT64_FORMAT " / %" G_GINT64_FORMAT + " %s (%3.2g %%)\n", gst_object_get_name (GST_OBJECT (progressreport)), hh, mm, ss, cur_progress, total_progress, format_name, ((gdouble) (cur_progress)) / total_progress * 100); } else { - g_print ("%s (%2d:%2d:%2d): %lld %s\n", + g_print ("%s (%2d:%2d:%2d): %" G_GINT64_FORMAT " %s\n", gst_object_get_name (GST_OBJECT (progressreport)), hh, mm, ss, cur_progress, format_name); } diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index 40e7f5f222..b8e76d62cb 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -2176,7 +2176,8 @@ gst_matroska_demux_parse_contents (GstMatroskaDemux * demux) break; } if (id != seek_id) { - g_warning ("We looked for ID=0x%x but got ID=0x%x (pos=%llu)", + g_warning ("We looked for ID=0x%x but got ID=0x%x (pos=%" + G_GUINT64_FORMAT ")", seek_id, id, seek_pos + demux->segment_start); goto finish; }