summaryrefslogtreecommitdiffstats
path: root/codec-cfg.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-07-29 02:08:27 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-07-29 02:08:27 +0000
commit38060e5ee7781e84e04092c79881f72c0dead165 (patch)
treee3b5a25e02bfd1e815ac4a0764a51b005370afa3 /codec-cfg.h
parent69c2e0aaa588d2ca82f63493f6e370c9f2bf0bc3 (diff)
downloadmpv-38060e5ee7781e84e04092c79881f72c0dead165.tar.bz2
mpv-38060e5ee7781e84e04092c79881f72c0dead165.tar.xz
using AFM_/VFM_ macros instead of hardcoded constants (idea by al3x)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1411 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'codec-cfg.h')
-rw-r--r--codec-cfg.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/codec-cfg.h b/codec-cfg.h
index 5c237fc8bf..05c7965f4c 100644
--- a/codec-cfg.h
+++ b/codec-cfg.h
@@ -17,6 +17,23 @@
#define CODECS_STATUS_PROBLEMS 1
#define CODECS_STATUS_WORKING 2
+// Codec family/driver:
+#define AFM_MPEG 1
+#define AFM_PCM 2
+#define AFM_AC3 3
+#define AFM_ACM 4
+#define AFM_ALAW 5
+#define AFM_GSM 6
+#define AFM_DSHOW 7
+#define AFM_DVDPCM 8
+
+#define VFM_MPEG 1
+#define VFM_VFW 2
+#define VFM_ODIVX 3
+#define VFM_DSHOW 4
+#define VFM_FFMPEG 5
+#define VFM_VFWEX 6
+#define VFM_DIVX4 7
typedef struct {
unsigned long f1;