diff gui/ui/render.c @ 33615:1f9a31d4f114

Replace all playback integer constants by their symbolic constants.
author ib
date Wed, 22 Jun 2011 12:53:30 +0000
parents 520fb0f7544c
children 4221981ad74c
line wrap: on
line diff
--- a/gui/ui/render.c	Wed Jun 22 12:12:50 2011 +0000
+++ b/gui/ui/render.c	Wed Jun 22 12:53:30 2011 +0000
@@ -230,17 +230,17 @@
                 break;
 
             case 's':
-                if (guiInfo.Playing == 0)
+                if (guiInfo.Playing == GUI_STOP)
                     av_strlcat(trbuf, "s", sizeof(trbuf));
                 break;
 
             case 'l':
-                if (guiInfo.Playing == 1)
+                if (guiInfo.Playing == GUI_PLAY)
                     av_strlcat(trbuf, "p", sizeof(trbuf));
                 break;
 
             case 'e':
-                if (guiInfo.Playing == 2)
+                if (guiInfo.Playing == GUI_PAUSE)
                     av_strlcat(trbuf, "e", sizeof(trbuf));
                 break;