Mercurial > mplayer.hg
changeset 34424:7f04823f744c
Explicitly enumerate all stream types.
author | ib |
---|---|
date | Thu, 05 Jan 2012 14:26:21 +0000 |
parents | 536ab2e339b8 |
children | c34052f0594d |
files | gui/interface.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/interface.c Thu Jan 05 13:55:03 2012 +0000 +++ b/gui/interface.c Thu Jan 05 14:26:21 2012 +0000 @@ -627,6 +627,10 @@ guiInfo.StreamType = stream->type; switch (guiInfo.StreamType) { + case STREAMTYPE_FILE: + case STREAMTYPE_STREAM: + break; + #ifdef CONFIG_CDDA case STREAMTYPE_CDDA: guiInfo.Tracks = 0; @@ -659,9 +663,6 @@ guiInfo.Angle = dvd_angle + 1; break; #endif - - default: - break; } break;