diff options
author | wm4 <wm4@nowhere> | 2013-10-02 21:19:16 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-10-02 21:19:16 +0200 |
commit | ef9c5300ef02427db606273ac1f461a68c6c95ec (patch) | |
tree | 2a9dcf87ac7e03e1f8aa5e9b25349e21a780dba6 /demux | |
parent | 93b712fa8ab56217da2e8a5317891f4d0df1838f (diff) |
cosmetics: replace "CTRL" defines by enums
Because why not.
Diffstat (limited to 'demux')
-rw-r--r-- | demux/demux.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/demux/demux.h b/demux/demux.h index af8766ec22..1e0546a6d0 100644 --- a/demux/demux.h +++ b/demux/demux.h @@ -55,14 +55,16 @@ enum timestamp_type { #define DEMUXER_CTRL_OK 1 #define DEMUXER_CTRL_GUESS 2 -#define DEMUXER_CTRL_UPDATE_INFO 8 -#define DEMUXER_CTRL_SWITCHED_TRACKS 9 -#define DEMUXER_CTRL_GET_TIME_LENGTH 10 -#define DEMUXER_CTRL_GET_START_TIME 11 -#define DEMUXER_CTRL_SWITCH_AUDIO 12 -#define DEMUXER_CTRL_RESYNC 13 -#define DEMUXER_CTRL_SWITCH_VIDEO 14 -#define DEMUXER_CTRL_IDENTIFY_PROGRAM 15 +enum demux_ctrl { + DEMUXER_CTRL_UPDATE_INFO = 1, + DEMUXER_CTRL_SWITCHED_TRACKS, + DEMUXER_CTRL_GET_TIME_LENGTH, + DEMUXER_CTRL_GET_START_TIME, + DEMUXER_CTRL_SWITCH_AUDIO, + DEMUXER_CTRL_RESYNC, + DEMUXER_CTRL_SWITCH_VIDEO, + DEMUXER_CTRL_IDENTIFY_PROGRAM, +}; #define SEEK_ABSOLUTE (1 << 0) #define SEEK_FACTOR (1 << 1) |