speed: fix warnings in macosx snow leopard

This commit is contained in:
Josep Torra 2009-10-11 13:13:56 +02:00
parent fc0677a5a1
commit 66b1cc9346
2 changed files with 15 additions and 8 deletions

View file

@ -377,8 +377,9 @@ gst_nuv_demux_extended_header_load (GstNuvDemux * nuv,
GST_DEBUG_OBJECT (nuv, GST_DEBUG_OBJECT (nuv,
"ex hdr: v=%d vffc=%4.4s afcc=%4.4s %dHz %dbits ach=%d acr=%d aq=%d" "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", "rtjpeg q=%d lf=%d lc=%d lavc br=%d qmin=%d qmax=%d maxqdiff=%d seekableoff=%"
h->i_version, (gchar *) & h->i_video_fcc, (gchar *) & h->i_audio_fcc, 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_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_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, h->i_rtjpeg_luma_filter, h->i_rtjpeg_chroma_filter, h->i_lavc_bitrate,

View file

@ -367,9 +367,11 @@ speed_src_query (GstPad * pad, GstQuery * query)
} }
if (rformat == GST_FORMAT_BYTES) 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) 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 */ /* convert to time format */
if (!gst_speed_convert (pad, rformat, cur, &conv_format, &cur)) { 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_query_set_position (query, format, cur);
GST_LOG_OBJECT (filter, 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; break;
} }
@ -411,9 +414,11 @@ speed_src_query (GstPad * pad, GstQuery * query)
} }
if (rformat == GST_FORMAT_BYTES) 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) 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 */ /* convert to time format */
if (!gst_speed_convert (pad, rformat, end, &conv_format, &end)) { 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_query_set_duration (query, format, end);
GST_LOG_OBJECT (filter, 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; break;
} }