projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc6b976
)
x264enc: fix unsigned comparison warning
author
Matej Knopp
<matej.knopp@gmail.com>
Tue, 3 Sep 2013 18:28:35 +0000
(20:28 +0200)
committer
Sebastian Dröge
<slomo@circular-chaos.org>
Wed, 4 Sep 2013 08:47:55 +0000
(10:47 +0200)
ext/x264/gstx264enc.c
patch
|
blob
|
history
diff --git
a/ext/x264/gstx264enc.c
b/ext/x264/gstx264enc.c
index 1eb6f1cc2adc6e03ed34f1b18cf960e33012393a..1be3ddf8688f65f9671794f70b250ec4c34ec08e 100644
(file)
--- a/
ext/x264/gstx264enc.c
+++ b/
ext/x264/gstx264enc.c
@@
-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 */
GST_WARNING_OBJECT (encoder, "negative dts after offset compensation");
frame->dts = GST_CLOCK_TIME_NONE;