Mercurial > mplayer.hg
changeset 35422:696a8a165952
Check and set track for DVDs just as for the other StreamTypes.
author | ib |
---|---|
date | Thu, 29 Nov 2012 15:10:27 +0000 |
parents | 301d578b9142 |
children | eef7c4527712 |
files | gui/ui/main.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/ui/main.c Thu Nov 29 14:58:39 2012 +0000 +++ b/gui/ui/main.c Thu Nov 29 15:10:27 2012 +0000 @@ -194,7 +194,6 @@ uiEventHandling( ivPlayDVD, 0 ); break; case evPlayDVD: - guiInfo.Track=1; guiInfo.Chapter=1; guiInfo.Angle=1; case ivPlayDVD: @@ -249,6 +248,8 @@ guiInfoMediumClear( CLEAR_ALL - CLEAR_DVD - CLEAR_FILE ); if ( guiInfo.Playing != GUI_PAUSE ) { + if ( !guiInfo.Track ) + guiInfo.Track=1; guiInfo.NewPlay=GUI_FILE_SAME; } break;