[MPlayer-dev-eng] [PATCH] unifying handling of -chapter

Nico Sabbi Nicola.Sabbi at poste.it
Mon Feb 11 22:58:42 CET 2008


Il Sunday 10 February 2008 11:28:59 Nico Sabbi ha scritto:
> Il Saturday 09 February 2008 23:00:38 Nico Sabbi ha scritto:
> > Attached patch moves the handling of -chapter to mplayer.c
> > (and next to mencoder.c) calling demux_seek_chapter() if
> > dvd_chapter > 0 and ending the playback of the current title
> > when the current chapter when it's beyond the last chapter
> > specified.
> > I'm almost tempted to move the code to demux_open() and
> > demux_fill_buffer() but the resulting code wouldn't look
> > very clean.
> > 
> > What gets lost with this patch applied is the ability to -streamdump
> > specific chapters from dvd streams, but there are better tools
> > to do the job.
> > 
> > Comments?
> > 
> 
> I'm going to commit this patch tomorrow

committed (demuxer_seek_chapter() is called from within
mencoder.c and mplayer.c)



More information about the MPlayer-dev-eng mailing list