[MPlayer-dev-eng] [PATCH] stream aided seeking (dvd precise seeking)

Guillaume POIRIER poirierg at gmail.com
Tue Nov 7 08:14:54 CET 2006


Hi,

On 11/7/06, Nico Sabbi <nicola_sabbi at fastwebnet.it> wrote:
> This patch overcomes one of the most hideous limitations in mplayer:
> the impossibility to precisely seek in dvds (and in the future possibly
> other streams
> such as [s]vcd).
>
> I modified demux_seek() so as to try to ask the stream layer to seek to
> the specified position
> (if possible), and in order to make it work with relative seeking I also
> added a method to ask the
> stream layer the current time.
>
> The change in mplayer.c permits to show in the OSD (but not in the
> status line, for
> performace reasons) the "current time" determined by the stream layer
> (if possible)
> or else the usual sh_video->pts if the former method fails.
>
> Thanks to Elupus for his help (especially for the fixes related to
> multi-angle dvds).

If I understand the code right, this patch doesn't depend on dvdnav, right?


> If no one objects I'll commit this patch tomorrow night.

I'll try to fix it tonight...

Guillaume

-- 
With DADVSI (http://en.wikipedia.org/wiki/DADVSI), France finally has
a lead on USA on selling out individuals right to corporations!
Vive la France!



More information about the MPlayer-dev-eng mailing list