From 5f646b2b484dc5ed9fde5b13c5950c8e28fdeb0e Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Sun, 11 Oct 2009 13:46:00 +0200 Subject: [PATCH] dirac: fix warning in macosx snow leopard --- ext/dirac/gstdiracenc.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ext/dirac/gstdiracenc.cc b/ext/dirac/gstdiracenc.cc index 04c86cad04..e09b977615 100644 --- a/ext/dirac/gstdiracenc.cc +++ b/ext/dirac/gstdiracenc.cc @@ -862,7 +862,7 @@ gst_dirac_enc_handle_frame (GstBaseVideoEncoder * base_video_encoder, dirac_enc->granule_offset = gst_util_uint64_scale (frame->presentation_timestamp, 2 * state->fps_n, GST_SECOND * state->fps_d); - GST_DEBUG ("granule offset %lld", dirac_enc->granule_offset); + GST_DEBUG ("granule offset %" G_GINT64_FORMAT, dirac_enc->granule_offset); } switch (state->format) { @@ -1238,7 +1238,8 @@ gst_dirac_enc_shape_output_ogg (GstBaseVideoEncoder * base_video_encoder, granulepos_hi = (((uint64_t) pt - delay) << 9) | ((dist >> 8)); granulepos_low = (delay << 9) | (dist & 0xff); - GST_DEBUG ("granulepos %lld:%lld", granulepos_hi, granulepos_low); + GST_DEBUG ("granulepos %" G_GINT64_FORMAT ":%" G_GINT64_FORMAT, granulepos_hi, + granulepos_low); if (frame->is_eos) { GST_BUFFER_OFFSET_END (buf) = dirac_enc->last_granulepos;