summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-03-10 20:10:09 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-03-10 20:10:09 +0000
commit4300e22d54d459ee17025207acc2ad627dff064e (patch)
treeee233b2cc055e4ce25bd385a6158540238799542 /ext
parentab6e3e5e06966592fc6289db9ff3018a2b1fe513 (diff)
downloadgst-plugins-bad-4300e22d54d459ee17025207acc2ad627dff064e.tar.gz
gst-plugins-bad-4300e22d54d459ee17025207acc2ad627dff064e.tar.bz2
gst-plugins-bad-4300e22d54d459ee17025207acc2ad627dff064e.zip
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.
Diffstat (limited to 'ext')
-rw-r--r--ext/nas/nassink.c2
-rw-r--r--ext/sndfile/gstsfsrc.c6
2 files changed, 4 insertions, 4 deletions
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: