[MPlayer-dev-eng] dvdnav support?

Kees Cook mplayer at outflux.net
Sun Apr 7 19:07:20 CEST 2002


On Sun, Apr 07, 2002 at 07:17:43PM +0200, Arpi wrote:
> > - set a flag that means "play until video buffers are empty, repeating the
> >   last frame until told to continue".
> i still think it's video.c job
> i'll help with this, later, now i'm busy with libmpcodecs for a while

The problem is how libdvdnav handles the reads.  Basically, as soon as I
see a "STILL" event, I need to stop all reads from the libdvdnav stream
until a timer expires or a menu selection is made.  The only way I can
think to deal with this would be to add some return code from
stream_fill_buffer that means "nothing available yet, come back later".  
I have no idea how to add this cleanly.

> > - restart audio/video demuxers, possibly with a new stream id (which
> >   could mean different bitrates, channels, etc).
> i still don't think the demuxers have to be restarted
> especially as for mpeg-ps, no audio and video demuxre, there is a single
> demuxer which reads single steram and put packets to a/v/s queue
> you mean restarting codecs, right?

I guess what I mean is, I need a way to flush the a/v/s queue empty, 
change the a/v stream IDs, and then restart the codecs.

> > anyone else offered to rewrite the OSD stuff?
> not yet

As in, no one offered, or I should not do it yet?  And what about the 
video filter stuff?

-- 
Kees Cook                                            @outflux.net



More information about the MPlayer-dev-eng mailing list