x264: Fix dts comparision
authorEdward Hervey <edward@collabora.com>
Fri, 26 Jul 2013 14:39:12 +0000 (16:39 +0200)
committerEdward Hervey <edward@collabora.com>
Fri, 26 Jul 2013 14:47:30 +0000 (16:47 +0200)
commit767005d8c05a9c5afad95ff868ed8b3952e4b38b
tree4e0cffaa60c094581ab37ddfdce6f7a983d0b8fb
parentc2eb7118beb6d2eb456f275ef7b597855c721e1b
x264: Fix dts comparision

We were assigning to a guint64 value (frame->dts) the sum of a unsigned
and signed value... resulting it the result never being < 0.

Instead just check if it is smaller before assigning to frame->dts.
ext/x264/gstx264enc.c