Mercurial > mplayer.hg
changeset 34073:ac52c68c17f5
Remove check for STREAMTYPE_PLAYLIST.
STREAMTYPE_PLAYLIST can't be handled by the GUI.
Replace that by the stream types that can be handled.
author | ib |
---|---|
date | Fri, 30 Sep 2011 14:18:26 +0000 |
parents | 0527645edf13 |
children | 360ed500a6e9 |
files | gui/interface.c gui/win32/interface.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/interface.c Thu Sep 29 22:39:08 2011 +0000 +++ b/gui/interface.c Fri Sep 30 14:18:26 2011 +0000 @@ -397,7 +397,8 @@ } switch (guiInfo.StreamType) { - case STREAMTYPE_PLAYLIST: + case STREAMTYPE_FILE: + case STREAMTYPE_STREAM: break; #ifdef CONFIG_VCD
--- a/gui/win32/interface.c Thu Sep 29 22:39:08 2011 +0000 +++ b/gui/win32/interface.c Fri Sep 30 14:18:26 2011 +0000 @@ -473,7 +473,8 @@ guiInfo.NewPlay = 0; switch(guiInfo.StreamType) { - case STREAMTYPE_PLAYLIST: + case STREAMTYPE_FILE: + case STREAMTYPE_STREAM: break; #ifdef CONFIG_DVDREAD case STREAMTYPE_DVD: