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

Nico Sabbi Nicola.Sabbi at poste.it
Sun Feb 10 11:28:59 CET 2008


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



More information about the MPlayer-dev-eng mailing list