mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
schroedinger: fix warnings on macosx snow leopard
This commit is contained in:
parent
1826b6a93c
commit
14a83f3b3d
3 changed files with 7 additions and 4 deletions
|
@ -473,7 +473,8 @@ gst_schro_dec_parse_data (GstBaseVideoDecoder * base_video_decoder,
|
|||
if (GST_CLOCK_TIME_IS_VALID (base_video_decoder->last_sink_timestamp)) {
|
||||
base_video_decoder->current_frame->presentation_timestamp =
|
||||
base_video_decoder->last_sink_timestamp;
|
||||
GST_DEBUG ("got timestamp %lld", base_video_decoder->last_sink_timestamp);
|
||||
GST_DEBUG ("got timestamp %" G_GINT64_FORMAT,
|
||||
base_video_decoder->last_sink_timestamp);
|
||||
} else if (base_video_decoder->last_sink_offset_end != -1) {
|
||||
GstVideoState *state;
|
||||
|
||||
|
|
|
@ -468,7 +468,7 @@ gst_schro_enc_handle_frame (GstBaseVideoEncoder * base_video_encoder,
|
|||
schro_enc->granule_offset =
|
||||
gst_util_uint64_scale (frame->presentation_timestamp,
|
||||
2 * state->fps_n, GST_SECOND * state->fps_d);
|
||||
GST_DEBUG ("granule offset %lld", schro_enc->granule_offset);
|
||||
GST_DEBUG ("granule offset %" G_GINT64_FORMAT, schro_enc->granule_offset);
|
||||
}
|
||||
|
||||
schro_frame = gst_schro_buffer_wrap (gst_buffer_ref (frame->sink_buffer),
|
||||
|
@ -636,7 +636,8 @@ gst_schro_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) = schro_enc->last_granulepos;
|
||||
|
|
|
@ -448,7 +448,8 @@ gst_schro_parse_shape_output_ogg (GstBaseVideoParse * base_video_parse,
|
|||
|
||||
granulepos_hi = (((guint64) 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) = schro_parse->last_granulepos;
|
||||
|
|
Loading…
Reference in a new issue