Mercurial > mplayer.hg
comparison gui/interface.h @ 35389:a54338c73df8
Simplify playlist handling by defining a symbolic constant.
This should make the code also easier to read.
author | ib |
---|---|
date | Mon, 26 Nov 2012 10:48:26 +0000 |
parents | 02006c5b3b30 |
children | d076af01765d |
comparison
equal
deleted
inserted
replaced
35388:6c9c58ad43a3 | 35389:a54338c73df8 |
---|---|
66 //@{ | 66 //@{ |
67 /// NewPlay reason | 67 /// NewPlay reason |
68 #define GUI_FILE_SAME 1 | 68 #define GUI_FILE_SAME 1 |
69 #define GUI_FILE_NEW 2 | 69 #define GUI_FILE_NEW 2 |
70 //@} | 70 //@} |
71 | |
72 /// StreamTypes that are permitted in a playlist | |
73 #define isPlaylistStreamtype (guiInfo.StreamType == STREAMTYPE_FILE || guiInfo.StreamType == STREAMTYPE_STREAM) | |
71 | 74 |
72 /// mplayer() instructions | 75 /// mplayer() instructions |
73 enum { | 76 enum { |
74 MPLAYER_EXIT_GUI, | 77 MPLAYER_EXIT_GUI, |
75 MPLAYER_SET_AUTO_QUALITY, | 78 MPLAYER_SET_AUTO_QUALITY, |