ext/apexsink/gstapexsink.c: Fix some more format string compiler warnings (from OS/X)
authorJan Schmidt <thaytan@mad.scientist.com>
Tue, 14 Oct 2008 14:53:41 +0000 (14:53 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Tue, 14 Oct 2008 14:53:41 +0000 (14:53 +0000)
Original commit message from CVS:
* ext/apexsink/gstapexsink.c:
Fix some more format string compiler warnings (from OS/X)

ChangeLog
ext/apexsink/gstapexsink.c

index 4d2a93dd17b67258398aa78c5a3479b05ecadb6d..815c6988f1d023c2043a455a4248011fddad373d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-14  Jan Schmidt  <jan.schmidt@sun.com>
+
+       * ext/apexsink/gstapexsink.c:
+       Fix some more format string compiler warnings (from OS/X)
+
 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
 
        * ext/apexsink/gstapexraop.c: (gst_apexraop_connect),
index 5957093dcad854b00bd51d8e0e1f706d24ee1161..8f98eb00a8e1ff972f4756eaca5affa4a89ec7a8 100644 (file)
@@ -295,7 +295,7 @@ gst_apexsink_init (GstApExSink * apexsink, GstApExSinkClass * g_class)
   apexsink->tracks = g_list_append (apexsink->tracks, track);
 
   GST_INFO_OBJECT (apexsink,
-      "ApEx sink default initialization, target=\"%s\", port=\"%d\", volume=\"%d\%\"",
+      "ApEx sink default initialization, target=\"%s\", port=\"%d\", volume=\"%d%%\"",
       apexsink->host, apexsink->port, apexsink->volume);
 }
 
@@ -335,7 +335,7 @@ gst_apexsink_set_property (GObject * object, guint prop_id,
       if (sink->gst_apexraop != NULL)
         gst_apexraop_set_volume (sink->gst_apexraop, sink->volume);
 
-      GST_INFO_OBJECT (sink, "ApEx volume set to \"%d\%\"", sink->volume);
+      GST_INFO_OBJECT (sink, "ApEx volume set to \"%d%%\"", sink->volume);
     }
       break;
     default:
@@ -465,11 +465,11 @@ gst_apexsink_open (GstAudioSink * asink)
           gst_apexraop_set_volume (apexsink->gst_apexraop,
               apexsink->volume)) != GST_RTSP_STS_OK) {
     GST_WARNING_OBJECT (apexsink,
-        "%s : could not set initial volume to \"%d\%\", RTSP code=%d",
+        "%s : could not set initial volume to \"%d%%\", RTSP code=%d",
         apexsink->host, apexsink->volume, res);
   } else {
     GST_INFO_OBJECT (apexsink,
-        "OPEN : ApEx sink successfully set volume to \"%d\%\"",
+        "OPEN : ApEx sink successfully set volume to \"%d%%\"",
         apexsink->volume);
   }