summaryrefslogtreecommitdiffstats
path: root/mpvcore/mp_common.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-23 22:08:42 +0100
committerwm4 <wm4@nowhere>2013-11-23 22:08:42 +0100
commitf99aff1b31a7b23e7761a6da4fc4550d698e06fe (patch)
treeb039e3ef1ef379860d934c1eed0a7a94ef70d444 /mpvcore/mp_common.h
parent36744a30fbeaf5ea8eed1944650acb12cde9ff48 (diff)
downloadmpv-f99aff1b31a7b23e7761a6da4fc4550d698e06fe.tar.bz2
mpv-f99aff1b31a7b23e7761a6da4fc4550d698e06fe.tar.xz
Reduce stheader.h includes, move stream types to mp_common.h
Diffstat (limited to 'mpvcore/mp_common.h')
-rw-r--r--mpvcore/mp_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/mpvcore/mp_common.h b/mpvcore/mp_common.h
index ecd84e33b6..ab1ccb9451 100644
--- a/mpvcore/mp_common.h
+++ b/mpvcore/mp_common.h
@@ -52,6 +52,13 @@
#define CONTROL_ERROR -2
#define CONTROL_NA -3
+enum stream_type {
+ STREAM_VIDEO,
+ STREAM_AUDIO,
+ STREAM_SUB,
+ STREAM_TYPE_COUNT,
+};
+
extern const char *mplayer_version;
extern const char *mplayer_builddate;