diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-08-30 23:56:24 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-08-30 23:56:24 +0000 |
commit | 0446e090b1185e9773c77adad46bd5159acc8222 (patch) | |
tree | 04ba6c5b2e856501021a96ddc9a650cf5bf761f2 /codec-cfg.h | |
parent | c1f2df8f53deced39e181ce8e6ef6aaa41256781 (diff) | |
download | mpv-0446e090b1185e9773c77adad46bd5159acc8222.tar.bz2 mpv-0446e090b1185e9773c77adad46bd5159acc8222.tar.xz |
Allow forcing of demuxers and codecs by prepending '+'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16322 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'codec-cfg.h')
-rw-r--r-- | codec-cfg.h | 9 |
1 files changed, 6 insertions, 3 deletions
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); |