Mercurial > mplayer.hg
diff codec-cfg.h @ 16321:efbfac98cab1
Allow forcing of demuxers and codecs by prepending '+'
author | reimar |
---|---|
date | Tue, 30 Aug 2005 23:56:24 +0000 |
parents | cd65644dae2d |
children | f580a7755ac5 |
line wrap: on
line diff
--- a/codec-cfg.h Tue Aug 30 23:24:47 2005 +0000 +++ b/codec-cfg.h Tue Aug 30 23:56:24 2005 +0000 @@ -59,9 +59,12 @@ } codecs_t; int parse_codec_cfg(char *cfgfile); -codecs_t* find_video_codec(unsigned int fourcc, unsigned int *fourccmap, codecs_t *start); -codecs_t* find_audio_codec(unsigned int fourcc, unsigned int *fourccmap, codecs_t *start); -codecs_t* find_codec(unsigned int fourcc,unsigned int *fourccmap,codecs_t *start,int audioflag); +codecs_t* find_video_codec(unsigned int fourcc, unsigned int *fourccmap, + codecs_t *start, int force); +codecs_t* find_audio_codec(unsigned int fourcc, unsigned int *fourccmap, + codecs_t *start, int force); +codecs_t* find_codec(unsigned int fourcc, unsigned int *fourccmap, + codecs_t *start, int audioflag, int force); void select_codec(char* codecname,int audioflag); void list_codecs(int audioflag); void codecs_reset_selection(int audioflag);