diff gui/ui/actions.h @ 34399:f2c03009068d

Don't explicitly set stream type if the type doesn't change. Use a self-explanatory symbolic constant which makes the code more easily understandable.
author ib
date Mon, 02 Jan 2012 15:16:55 +0000
parents 24d919fb6778
children 8249c2131cd3
line wrap: on
line diff
--- a/gui/ui/actions.h	Mon Jan 02 12:53:20 2012 +0000
+++ b/gui/ui/actions.h	Mon Jan 02 15:16:55 2012 +0000
@@ -19,6 +19,10 @@
 #ifndef MPLAYER_GUI_ACTIONS_H
 #define MPLAYER_GUI_ACTIONS_H
 
+#include "stream/stream.h"
+
+#define SAME_STREAMTYPE (STREAMTYPE_DUMMY - 1)
+
 extern int uiGotoTheNext;
 
 void uiAbsSeek(float sec);