From 4300e22d54d459ee17025207acc2ad627dff064e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 10 Mar 2007 20:10:09 +0000 Subject: ext/: Printf format string fixes. Original commit message from CVS: * ext/nas/nassink.c: (NAS_createFlow): * ext/sndfile/gstsfsrc.c: (gst_sf_src_create): Printf format string fixes. --- ChangeLog | 6 ++++++ common | 2 +- ext/nas/nassink.c | 2 +- ext/sndfile/gstsfsrc.c | 6 +++--- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index cfe73d71..a49f3b37 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-03-10 Tim-Philipp Müller + + * ext/nas/nassink.c: (NAS_createFlow): + * ext/sndfile/gstsfsrc.c: (gst_sf_src_create): + Printf format string fixes. + 2007-03-09 Stefan Kost * gst/equalizer/Makefile.am: diff --git a/common b/common index ea828a47..dec151d1 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit ea828a478fe11561881a6eaf1f7bf2b0b77c8c85 +Subproject commit dec151d15512e4cca2dcdd36d9c6c4a2185760ec diff --git a/ext/nas/nassink.c b/ext/nas/nassink.c index d15f9846..a2ee0575 100644 --- a/ext/nas/nassink.c +++ b/ext/nas/nassink.c @@ -577,7 +577,7 @@ NAS_createFlow (GstNasSink * sink, GstRingBufferSpec * spec) spec->segtotal = 1; GST_DEBUG_OBJECT (sink, "Rate %d Format %d tracks %d bufs %d %d/%d w %d", - spec->rate, format, spec->channels, buf_samples, spec->segsize, + spec->rate, format, spec->channels, (gint) buf_samples, spec->segsize, spec->segtotal, spec->width); AuMakeElementImportClient (&elements[0], /* element */ spec->rate, /* rate */ diff --git a/ext/sndfile/gstsfsrc.c b/ext/sndfile/gstsfsrc.c index 449c32fb..0cd1e913 100644 --- a/ext/sndfile/gstsfsrc.c +++ b/ext/sndfile/gstsfsrc.c @@ -267,9 +267,9 @@ bad_offset: } bad_length: { - GST_ELEMENT_ERROR (this, RESOURCE, SEEK, - (NULL), ("length %" G_GUINT64_FORMAT " not divisible by %d bytes per " - "frame", length, this->bytes_per_frame)); + GST_ELEMENT_ERROR (this, RESOURCE, SEEK, (NULL), + ("length %u not divisible by %d bytes per frame", length, + this->bytes_per_frame)); return GST_FLOW_ERROR; } seek_failed: -- cgit v1.2.1