diff libmenu/menu_chapsel.c @ 33517:850a3272e10d

Change code to allow STREAM_CTRL_GET_CURRENT_TIME with cache enabled. Due to that time being from what is currently read into the cache it is unfortunately somewhat inaccurate and unsmooth, however for streams that do have stream timestamps it is till a lot better than going by the demuxer alone. In particular it fixes bug #1081, when starting a DVD with -chapter following seeks would be relative to the start of the DVD instead of the current position.
author reimar
date Sun, 12 Jun 2011 11:26:22 +0000
parents 45b93bea8082
children 38a5d56c389c
line wrap: on
line diff