From 0446e090b1185e9773c77adad46bd5159acc8222 Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 30 Aug 2005 23:56:24 +0000 Subject: Allow forcing of demuxers and codecs by prepending '+' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16322 b3059339-0415-0410-9bf9-f77b7e298cf2 --- codec-cfg.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'codec-cfg.h') diff --git a/codec-cfg.h b/codec-cfg.h index 53746f81c5..49e9e2551c 100644 --- a/codec-cfg.h +++ b/codec-cfg.h @@ -59,9 +59,12 @@ typedef struct codecs_st { } 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); -- cgit v1.2.3