Mercurial > mplayer.hg
diff dvdread/Makefile @ 22021:71d78117fbf0
set has_valid_timestamps and corresponding first and final pts only after
having checked that at the beginning, at the middle and at the end of the
stream timestamps don't reset and that they seem to progress (almost-) linearly;
additionally probe those timestamps only when the stream type is file and it's seekable,
so all other stream types (especially network ones) won't waste time trying to seek
and possibly slowing down detection.
Seeking is not negatively affected by these changes.
Patch by Christian Aistleitner (zaek7q gmx net) reworked by me.
author | nicodvb |
---|---|
date | Sun, 28 Jan 2007 10:45:34 +0000 |
parents | 92b122592776 |
children | 8bcff5c7e387 |