summaryrefslogtreecommitdiffstats
path: root/codec-cfg.h
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-07 21:27:57 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-07 21:27:57 +0000
commite0ca9721bcf07175121316cc4c779d55c9a9d867 (patch)
tree19d12d5b208af359d7f430ff844fda54b87f468c /codec-cfg.h
parent0b3bd9698d07ea2a105d432fef5dc649de4e1f0b (diff)
downloadmpv-e0ca9721bcf07175121316cc4c779d55c9a9d867.tar.bz2
mpv-e0ca9721bcf07175121316cc4c779d55c9a9d867.tar.xz
codecs.conf support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@304 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'codec-cfg.h')
-rw-r--r--codec-cfg.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/codec-cfg.h b/codec-cfg.h
index 6e983fbace..a596d63335 100644
--- a/codec-cfg.h
+++ b/codec-cfg.h
@@ -15,14 +15,17 @@
#define CODECS_MAX_FOURCC 16
#define CODECS_MAX_OUTFMT 16
+// Global flags:
#define CODECS_FLAG_AUDIO (1<<0)
+#define CODECS_FLAG_SEEKABLE (1<<1)
+// Outfmt flags:
#define CODECS_FLAG_FLIP (1<<0)
#define CODECS_FLAG_NOFLIP (1<<1)
#define CODECS_FLAG_YUVHACK (1<<2)
-#warning nem kellene ket typedef GUID-nak...
+//#warning nem kellene ket typedef GUID-nak...
typedef struct {
unsigned long f1;
unsigned short f2;
@@ -44,6 +47,7 @@ typedef struct {
unsigned char outflags[CODECS_MAX_OUTFMT];
} codecs_t;
-codecs_t *parse_codec_cfg(char *cfgfile);
+codecs_t* parse_codec_cfg(char *cfgfile);
+codecs_t* find_codec(unsigned int fourcc,unsigned int *fourccmap,int audioflag);
#endif