speed: fix warnings in macosx snow leopard
authorJosep Torra <n770galaxy@gmail.com>
Sun, 11 Oct 2009 11:13:56 +0000 (13:13 +0200)
committerJosep Torra <n770galaxy@gmail.com>
Sun, 11 Oct 2009 11:13:56 +0000 (13:13 +0200)
gst/nuvdemux/gstnuvdemux.c
gst/speed/gstspeed.c

index bb2e532..b04e5ab 100644 (file)
@@ -377,8 +377,9 @@ gst_nuv_demux_extended_header_load (GstNuvDemux * nuv,
 
   GST_DEBUG_OBJECT (nuv,
       "ex hdr: v=%d vffc=%4.4s afcc=%4.4s %dHz %dbits ach=%d acr=%d aq=%d"
-      "rtjpeg q=%d lf=%d lc=%d lavc br=%d qmin=%d qmax=%d maxqdiff=%d seekableoff=%lld keyfao=%lld",
-      h->i_version, (gchar *) & h->i_video_fcc, (gchar *) & h->i_audio_fcc,
+      "rtjpeg q=%d lf=%d lc=%d lavc br=%d qmin=%d qmax=%d maxqdiff=%d seekableoff=%"
+      G_GINT64_FORMAT " keyfao=%" G_GINT64_FORMAT, h->i_version,
+      (gchar *) & h->i_video_fcc, (gchar *) & h->i_audio_fcc,
       h->i_audio_sample_rate, h->i_audio_bits_per_sample, h->i_audio_channels,
       h->i_audio_compression_ratio, h->i_audio_quality, h->i_rtjpeg_quality,
       h->i_rtjpeg_luma_filter, h->i_rtjpeg_chroma_filter, h->i_lavc_bitrate,
index feeede5..13466cb 100644 (file)
@@ -367,9 +367,11 @@ speed_src_query (GstPad * pad, GstQuery * query)
       }
 
       if (rformat == GST_FORMAT_BYTES)
-        GST_LOG_OBJECT (filter, "peer pad returned current=%lld bytes", cur);
+        GST_LOG_OBJECT (filter,
+            "peer pad returned current=%" G_GINT64_FORMAT " bytes", cur);
       else if (rformat == GST_FORMAT_TIME)
-        GST_LOG_OBJECT (filter, "peer pad returned time=%lld", cur);
+        GST_LOG_OBJECT (filter, "peer pad returned time=%" G_GINT64_FORMAT,
+            cur);
 
       /* convert to time format */
       if (!gst_speed_convert (pad, rformat, cur, &conv_format, &cur)) {
@@ -388,7 +390,8 @@ speed_src_query (GstPad * pad, GstQuery * query)
       gst_query_set_position (query, format, cur);
 
       GST_LOG_OBJECT (filter,
-          "position query: we return %llu (format %u)", cur, format);
+          "position query: we return %" G_GUINT64_FORMAT " (format %u)", cur,
+          format);
 
       break;
     }
@@ -411,9 +414,11 @@ speed_src_query (GstPad * pad, GstQuery * query)
       }
 
       if (rformat == GST_FORMAT_BYTES)
-        GST_LOG_OBJECT (filter, "peer pad returned total=%lld bytes", end);
+        GST_LOG_OBJECT (filter,
+            "peer pad returned total=%" G_GINT64_FORMAT " bytes", end);
       else if (rformat == GST_FORMAT_TIME)
-        GST_LOG_OBJECT (filter, "peer pad returned time=%lld", end);
+        GST_LOG_OBJECT (filter, "peer pad returned time=%" G_GINT64_FORMAT,
+            end);
 
       /* convert to time format */
       if (!gst_speed_convert (pad, rformat, end, &conv_format, &end)) {
@@ -433,7 +438,8 @@ speed_src_query (GstPad * pad, GstQuery * query)
       gst_query_set_duration (query, format, end);
 
       GST_LOG_OBJECT (filter,
-          "duration query: we return %llu (format %u)", end, format);
+          "duration query: we return %" G_GUINT64_FORMAT " (format %u)", end,
+          format);
 
       break;
     }