[MPlayer-cvslog] r32944 - trunk/stream/stream_dvdnav.c
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Mon Feb 21 19:17:56 CET 2011
On Sun, Feb 20, 2011 at 07:07:49PM +0100, cehoyos wrote:
> Author: cehoyos
> Date: Sun Feb 20 19:07:48 2011
> New Revision: 32944
>
> Log:
> "FIx" chapter references (make them identical to dvd).
>
> Patch by Mike Castle, dalgoda+mplayer gmail
>
> Modified:
> trunk/stream/stream_dvdnav.c
>
> Modified: trunk/stream/stream_dvdnav.c
> ==============================================================================
> --- trunk/stream/stream_dvdnav.c Sun Feb 20 02:10:52 2011 (r32943)
> +++ trunk/stream/stream_dvdnav.c Sun Feb 20 19:07:48 2011 (r32944)
> @@ -524,7 +524,7 @@ static void identify(dvdnav_priv_t *priv
> uint32_t titles=0, i;
> if(p->track <= 0) {
> dvdnav_get_number_of_titles(priv->dvdnav, &titles);
> - for(i=0; i<titles; i++)
> + for(i=1; i<=titles; i++)
> identify_chapters(priv->dvdnav, i);
That commit message isn't good I think.
This doesn't just make the output look the same, one should be definitely
wrong and doesn't print one of the chapters I think.
More information about the MPlayer-cvslog
mailing list