ext/: Printf format string fixes.
authorTim-Philipp Müller <tim@centricular.net>
Sat, 10 Mar 2007 20:10:09 +0000 (20:10 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 10 Mar 2007 20:10:09 +0000 (20:10 +0000)
Original commit message from CVS:
* ext/nas/nassink.c: (NAS_createFlow):
* ext/sndfile/gstsfsrc.c: (gst_sf_src_create):
Printf format string fixes.

ChangeLog
common
ext/nas/nassink.c
ext/sndfile/gstsfsrc.c

index cfe73d7..a49f3b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-03-10  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * ext/nas/nassink.c: (NAS_createFlow):
+       * ext/sndfile/gstsfsrc.c: (gst_sf_src_create):
+         Printf format string fixes.
+
 2007-03-09  Stefan Kost  <ensonic@users.sf.net>
 
        * gst/equalizer/Makefile.am:
diff --git a/common b/common
index ea828a4..dec151d 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit ea828a478fe11561881a6eaf1f7bf2b0b77c8c85
+Subproject commit dec151d15512e4cca2dcdd36d9c6c4a2185760ec
index d15f984..a2ee057 100644 (file)
@@ -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 */
index 449c32f..0cd1e91 100644 (file)
@@ -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: