aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-04-25 00:31:59 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-04-25 22:45:12 +0200
commit54ad8e06f48392332a3fedc468eba38d823c60ea (patch)
tree65d9493fe30a0266b5d69847442f4b406a15b9ef /ffplay.c
parent03a91c74539ec8eff4a84241a06e59e03cccc35d (diff)
downloadffmpeg-54ad8e06f48392332a3fedc468eba38d823c60ea.tar.gz
ffplay: name ShowMode enum
Help debugging with GDB, maybe cleaner/safer. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffplay.c b/ffplay.c
index b342732d7e..063cf37116 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -167,7 +167,7 @@ typedef struct VideoState {
enum AVSampleFormat audio_src_fmt;
AVAudioConvert *reformat_ctx;
- enum {
+ enum ShowMode {
SHOW_MODE_VIDEO = 0, SHOW_MODE_WAVES, SHOW_MODE_RDFT, SHOW_MODE_NB
} show_mode;
int16_t sample_array[SAMPLE_ARRAY_SIZE];
@@ -264,7 +264,7 @@ static int exit_on_keydown;
static int exit_on_mousedown;
static int loop=1;
static int framedrop=1;
-static int show_mode = SHOW_MODE_VIDEO;
+static enum ShowMode show_mode = SHOW_MODE_VIDEO;
static int rdftspeed=20;
#if CONFIG_AVFILTER