mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
dirac: fix warning in macosx snow leopard
This commit is contained in:
parent
66b1cc9346
commit
5f646b2b48
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue