mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 21:01:14 +00:00
x264enc: fix unsigned comparison warning
This commit is contained in:
parent
dc6b976213
commit
ae45623450
1 changed files with 1 additions and 1 deletions
|
@ -1964,7 +1964,7 @@ gst_x264_enc_encode_frame (GstX264Enc * encoder, x264_picture_t * pic_in,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pic_out.i_dts + encoder->dts_offset < 0) {
|
if (pic_out.i_dts + (gint64) encoder->dts_offset < 0) {
|
||||||
/* should be ok now, surprise if not */
|
/* should be ok now, surprise if not */
|
||||||
GST_WARNING_OBJECT (encoder, "negative dts after offset compensation");
|
GST_WARNING_OBJECT (encoder, "negative dts after offset compensation");
|
||||||
frame->dts = GST_CLOCK_TIME_NONE;
|
frame->dts = GST_CLOCK_TIME_NONE;
|
||||||
|
|
Loading…
Reference in a new issue