diff libvo/vo_gl.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 b7b169f5abda
children 959708d3e6f5
line wrap: on
line diff