diff options
author | lgb <lgb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-07-06 21:17:22 +0000 |
---|---|---|
committer | lgb <lgb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-07-06 21:17:22 +0000 |
commit | 52430859d457c2441d45a9db669efb7e451ff47f (patch) | |
tree | e40bb0dea63be3961b20bc84201b7d383c922fcb /cfg-mplayer.h | |
parent | b5933be0d73f543f430059aa5a7ed3c7e303d5c6 (diff) | |
download | mpv-52430859d457c2441d45a9db669efb7e451ff47f.tar.bz2 mpv-52430859d457c2441d45a9db669efb7e451ff47f.tar.xz |
-vcodec option (maybe some other name would be better though) to select between driver types without editing codecs.conf. mplayer will default to normal codec search loop if it does not find codec for the specified driver type. config range checking for the parameter (an integer) should be cleaned, IMHO
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1286 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r-- | cfg-mplayer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 19b160fcfc..2f8d82d55b 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -40,6 +40,8 @@ extern int ao_pcm_waveheader; extern char *mDisplayName; #endif +extern int force_vcodec; + struct config conf[]={ /* name, pointer, type, flags, min, max */ {"include", cfg_include, CONF_TYPE_FUNC_PARAM, 0, 0, 0}, /* this must be the first!!! */ @@ -55,6 +57,7 @@ struct config conf[]={ {"display", &mDisplayName, CONF_TYPE_STRING, 0, 0, 0}, #endif {"osdlevel", &osd_level, CONF_TYPE_INT, CONF_RANGE, 0, 2 }, + {"vcodec", &force_vcodec, CONF_TYPE_INT, CONF_RANGE, 1, 5 }, #ifdef HAVE_LIBCSS {"dvdauth", &dvd_auth_device, CONF_TYPE_STRING, 0, 0, 0}, {"dvdkey", &dvdimportkey, CONF_TYPE_STRING, 0, 0, 0}, |