diff dvdread/ifo_types.h @ 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 4da452b25fd5
children de28f9e8cb00
line wrap: on
line diff