mpegtspacketizer: Fix wraparound detection issue
authorEdward Hervey <bilboed@bilboed.com>
Fri, 13 Jun 2014 08:37:46 +0000 (10:37 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 13 Jun 2014 09:48:39 +0000 (11:48 +0200)
commitfdf9bdf9295ff9ec781e0e1551ed18c581d1af34
treec4095c8cfcf3863d8cfa5d8eb1f2e60fd6436511
parent20f3354c687d3c33f5ca4e75bcd3b46ff1642add
mpegtspacketizer: Fix wraparound detection issue

Using 32bit unsigned values for corrected pcr/offset meant that we
potentially ended up in bogus values

Furthermore, refpcr - refpcroffset could end up being negative, which
PCRTIME_TO_GSTTIME() can't handle (and returned a massive positive value)
gst/mpegtsdemux/mpegtspacketizer.c