mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
schroenc: Use guint64 instead of uint64_t. Fixes #599355
This commit is contained in:
parent
3063de4e87
commit
e56b3ba6dc
1 changed files with 1 additions and 1 deletions
|
@ -634,7 +634,7 @@ gst_schro_enc_shape_output_ogg (GstBaseVideoEncoder * base_video_encoder,
|
||||||
(int) frame->system_frame_number,
|
(int) frame->system_frame_number,
|
||||||
(int) frame->decode_frame_number, pt, dt, delay, dist);
|
(int) frame->decode_frame_number, pt, dt, delay, dist);
|
||||||
|
|
||||||
granulepos_hi = (((uint64_t) pt - delay) << 9) | ((dist >> 8));
|
granulepos_hi = (((guint64) pt - delay) << 9) | ((dist >> 8));
|
||||||
granulepos_low = (delay << 9) | (dist & 0xff);
|
granulepos_low = (delay << 9) | (dist & 0xff);
|
||||||
GST_DEBUG ("granulepos %" G_GINT64_FORMAT ":%" G_GINT64_FORMAT, granulepos_hi,
|
GST_DEBUG ("granulepos %" G_GINT64_FORMAT ":%" G_GINT64_FORMAT, granulepos_hi,
|
||||||
granulepos_low);
|
granulepos_low);
|
||||||
|
|
Loading…
Reference in a new issue