Mercurial > mplayer.hg
diff mplayer.c @ 33876:4789b8eed97e
Get rid of a bunch of needless or redundant guiInfo members.
Remove Title, use existing Track.
Remove DVD.titles, use existing Tracks (see below).
Remove DVD.current_title, use existing Track.
Remove DVD.current_chapter, use existing Chapter.
Remove DVD.current_angle, use existing Angle.
Additionally rename member VCDTracks Tracks,
move guiDVDStruct member chapters and angles to guiInterface_t struct
and rename chapters Chapters and angles Angles for consistency.
author | ib |
---|---|
date | Thu, 11 Aug 2011 13:54:24 +0000 |
parents | e23e8c872ae5 |
children | c52940fe54dd |
line wrap: on
line diff
--- a/mplayer.c Wed Aug 10 20:17:20 2011 +0000 +++ b/mplayer.c Thu Aug 11 13:54:24 2011 +0000 @@ -4006,7 +4006,7 @@ #ifdef CONFIG_DVDREAD if (mpctx->stream->type == STREAMTYPE_DVD) { dvd_priv_t *dvdp = mpctx->stream->priv; - guiInfo.DVD.current_chapter = dvd_chapter_from_cell(dvdp, guiInfo.DVD.current_title - 1, dvdp->cur_cell) + 1; + guiInfo.Chapter = dvd_chapter_from_cell(dvdp, guiInfo.Track - 1, dvdp->cur_cell) + 1; } #endif }