diff options
author | Reinhard Nißl <rnissl@gmx.de> | 2009-01-11 01:37:05 +0100 |
---|---|---|
committer | Reinhard Nißl <rnissl@gmx.de> | 2009-01-11 01:37:05 +0100 |
commit | 37a9cc3f7acf8db19b736123471cedfe10a148dc (patch) | |
tree | 17e39b2d3f02e02591aa149a80e757437b6eba98 /misc | |
parent | 90acd04b32de69512076b386cbb385041697e63e (diff) | |
download | xine-lib-37a9cc3f7acf8db19b736123471cedfe10a148dc.tar.gz xine-lib-37a9cc3f7acf8db19b736123471cedfe10a148dc.tar.bz2 |
Fix PTS tagging: large (negative) PTS values are a result of turning it off to early
The current code turns of PTS tagging as soon as a match is found. But depending
on picture reordering, there may be later frames which still have the tag. The result
is that most likely the highest bit is set which makes the PTS values large negative
numbers which cause a clock error and make streams unplayable.
To fix this issue, a stable counter is introduced. The two passes of PTS tagging are
now switched after the tag has been seen stable for 100 frames. This should protect
us from picture reordering issues.
--HG--
extra : transplant_source : I%2A%BBi%A5nb/%5E%12%9Ay%7B%BAj%7D%0B%16%0By
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions