]> git.sesse.net Git - vlc/commit
aout: do not check for PTS discontinuity in packetizer
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 11 Aug 2011 20:19:07 +0000 (23:19 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 11 Aug 2011 20:28:25 +0000 (23:28 +0300)
commit0d087b3c4fafa7b5335b5fe4e24fc471312173bf
tree9e898aaf1086db645802eb3dd406578df7effc95
parentd219a21c341171048730ea54e0689cb4739c78f9
aout: do not check for PTS discontinuity in packetizer

Continuity of the two FIFOs is maintained, as is consistency with the
input date. PTS discontinuity only seems to occur due to rounding
errors in the filters. It should be better not to drop samples, but
simply fix the buffer PTS and length.

Ideally, resamplers would use date_Increment() so they do not introduce
rounding errors. But first the block disconuity flag should be checked
for correctness during filtering, so that resamplers can reset the date
in case of hole.
src/audio_output/output.c