Mercurial > mplayer.hg
diff mencoder.c @ 7506:c1cb94198e05
-vc/-vfm accepts codec/driver _list_ now. empty list element for -vc means
*, ie search all codecs. codec name starting with - disables the codec.
author | arpi |
---|---|
date | Thu, 26 Sep 2002 01:31:18 +0000 |
parents | 6a2b6f3d619c |
children | aa1a1249f239 |
line wrap: on
line diff
--- a/mencoder.c Thu Sep 26 01:28:32 2002 +0000 +++ b/mencoder.c Thu Sep 26 01:31:18 2002 +0000 @@ -94,8 +94,10 @@ static int has_audio=1; char *audio_codec=NULL; // override audio codec char *video_codec=NULL; // override video codec +char **video_codec_list=NULL; // override video codec char* audio_fm=NULL; // override audio codec family char* video_fm=NULL; // override video codec family +char** video_fm_list=NULL; // override video codec family int out_audio_codec=-1; int out_video_codec=-1; @@ -633,7 +635,7 @@ sh_video->vfilter=append_filters(sh_video->vfilter); mp_msg(MSGT_CPLAYER,MSGL_INFO,"==========================================================================\n"); - init_best_video_codec(sh_video,video_codec,video_fm); + init_best_video_codec(sh_video,video_codec_list,video_fm_list); mp_msg(MSGT_CPLAYER,MSGL_INFO,"==========================================================================\n"); if(!sh_video->inited) mencoder_exit(1,NULL);