summaryrefslogtreecommitdiffstats
path: root/codec-cfg.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-30 21:44:20 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-30 21:44:20 +0000
commit1b667f61baba1328e45a5c33fe4a6343787c4b4a (patch)
tree8a13afc55b905ced9f349b56d9fb12ceabe4caed /codec-cfg.h
parent7af2d892c274222904eeeb5de0e394e5b52335fd (diff)
downloadmpv-1b667f61baba1328e45a5c33fe4a6343787c4b4a.tar.bz2
mpv-1b667f61baba1328e45a5c33fe4a6343787c4b4a.tar.xz
-afm/-vfm migration from ID (int) to NAME (string) - simplifies code and makes dlopen()'ing possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7181 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'codec-cfg.h')
-rw-r--r--codec-cfg.h57
1 files changed, 2 insertions, 55 deletions
diff --git a/codec-cfg.h b/codec-cfg.h
index b08deaf14e..220e97ade4 100644
--- a/codec-cfg.h
+++ b/codec-cfg.h
@@ -26,59 +26,6 @@
#define CODECS_STATUS_UNTESTED 2
#define CODECS_STATUS__MAX 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 AFM_HWAC3 9
-#define AFM_VORBIS 10
-#define AFM_FFMPEG 11
-#define AFM_MAD 12
-#define AFM_MSADPCM 13
-#define AFM_A52 14
-#define AFM_G72X 15
-#define AFM_IMAADPCM 16
-#define AFM_DK4ADPCM 17
-#define AFM_DK3ADPCM 18
-#define AFM_ROQAUDIO 19
-#define AFM_AAC 20
-#define AFM_REAL 21
-#define AFM_LIBDV 22
-
-#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
-#define VFM_RAW 8
-#define VFM_MSRLE 9
-#define VFM_XANIM 10
-#define VFM_MSVIDC 11
-#define VFM_FLI 12
-#define VFM_CINEPAK 13
-#define VFM_QTRLE 14
-#define VFM_NUV 15
-#define VFM_CYUV 16
-#define VFM_QTSMC 17
-#define VFM_DUCKTM1 18
-#define VFM_ROQVIDEO 19
-#define VFM_QTRPZA 20
-#define VFM_MPNG 21
-#define VFM_IJPG 22
-#define VFM_HUFFYUV 23
-#define VFM_ZLIB 24
-#define VFM_MPEGPES 25
-#define VFM_REAL 26
-#define VFM_SVQ1 27
-#define VFM_XVID 28
-#define VFM_LIBDV 29
#ifndef GUID_TYPE
#define GUID_TYPE
@@ -102,12 +49,12 @@ typedef struct codecs_st {
char *info;
char *comment;
char *dll;
+ char* drv;
GUID guid;
- short driver;
+// short driver;
short flags;
short status;
short cpuflags;
- short priority;
} codecs_t;
int parse_codec_cfg(char *cfgfile);