summaryrefslogtreecommitdiffstats
path: root/examples/stats
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2004-09-12 22:57:26 +0000
committerDavid Schleef <ds@schleef.org>2004-09-12 22:57:26 +0000
commite77b1b0e38f11305828356e136bc54633fceafd5 (patch)
tree34578070fb3c06418a4a494d11fd927274108f57 /examples/stats
parent2e89acbceae146cb364e577a6b4f3d31cd4f5291 (diff)
downloadgst-plugins-bad-e77b1b0e38f11305828356e136bc54633fceafd5.tar.gz
gst-plugins-bad-e77b1b0e38f11305828356e136bc54633fceafd5.tar.bz2
gst-plugins-bad-e77b1b0e38f11305828356e136bc54633fceafd5.zip
Fixes: #151879, #151881, #151882, #151883, #151884, #151886, #151887, #152102, #152247.
Original commit message from CVS: Fixes: #151879, #151881, #151882, #151883, #151884, #151886, #151887, #152102, #152247. * examples/indexing/indexmpeg.c: 64-bit warning fixes. * examples/seeking/cdparanoia.c: same * examples/seeking/cdplayer.c: same * examples/seeking/seek.c: same * examples/seeking/spider_seek.c: same * examples/seeking/vorbisfile.c: same * examples/stats/mp2ogg.c: same * ext/esd/esdsink.c: (gst_esdsink_class_init), (gst_esdsink_dispose): Dispose of element properly. * ext/ivorbis/vorbisfile.c: (gst_ivorbisfile_seek): 64-bit warning fixes. * ext/nas/nassink.c: (gst_nassink_class_init), (gst_nassink_dispose): Dispose of element correctly. * gst/wavenc/gstwavenc.c: (gst_wavenc_chain): Fix leak. * sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls), (gst_ximagesink_ximage_new), (gst_ximagesink_ximage_destroy): Fix 64-bit warning. * sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls), (gst_xvimagesink_xvimage_new), (gst_xvimagesink_xvimage_destroy): Fix 64-bit warning.
Diffstat (limited to 'examples/stats')
-rw-r--r--examples/stats/mp2ogg.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/stats/mp2ogg.c b/examples/stats/mp2ogg.c
index 3fb437fe..f62fe5d4 100644
--- a/examples/stats/mp2ogg.c
+++ b/examples/stats/mp2ogg.c
@@ -86,12 +86,13 @@ main (gint argc, gchar * argv[])
&format, &bitrate_dec);
g_print ("[%2dm %.2ds] of [%2dm %.2ds], "
- "src avg bitrate: %lld, dest avg birate: %lld, ratio [%02.2f] \r",
+ "src avg bitrate: %" G_GINT64_FORMAT ", dest avg birate: %"
+ G_GINT64_FORMAT ", ratio [%02.2f] \r",
(gint) (position / (GST_SECOND * 60)),
(gint) (position / (GST_SECOND)) % 60,
(gint) (duration / (GST_SECOND * 60)),
- (gint) (duration / (GST_SECOND)) % 60,
- bitrate_dec, bitrate_enc, (gfloat) bitrate_dec / bitrate_enc);
+ (gint) (duration / (GST_SECOND)) % 60, bitrate_dec, bitrate_enc,
+ (gfloat) bitrate_dec / bitrate_enc);
}
g_print ("\n");