diff options
author | Josep Torra <n770galaxy@gmail.com> | 2009-10-11 13:46:00 +0200 |
---|---|---|
committer | Josep Torra <n770galaxy@gmail.com> | 2009-10-11 13:46:00 +0200 |
commit | 5f646b2b484dc5ed9fde5b13c5950c8e28fdeb0e (patch) | |
tree | affd621d417193445405c7135da6d49f196ec9b2 | |
parent | 66b1cc9346645ccf3a0a480bc17ba077b16f4b7e (diff) |
dirac: fix warning in macosx snow leopard
-rw-r--r-- | ext/dirac/gstdiracenc.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/dirac/gstdiracenc.cc b/ext/dirac/gstdiracenc.cc index 04c86cad0..e09b97761 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; |