flvdemux: fix discontinuity threshold check when timestamps go backwards
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Sat, 3 Dec 2011 17:30:10 +0000 (17:30 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Sat, 3 Dec 2011 17:30:10 +0000 (17:30 +0000)
commit7a7db8cbaf751bfcb1a94b214cbad3855e4f683a
treeb9ba3bd3be201c9e9f1a6e197490168298fdfe73
parent1e974b15810ad5d53622fd35a0fc139f8c84942d
flvdemux: fix discontinuity threshold check when timestamps go backwards

Since unsigned types are used, a negative value would show as very, very
positive.
Fixes A/V sync on some... less than well made files where timestamps go
backwards.
gst/flv/gstflvdemux.c