Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
7505:3a2685099095 | 7506:c1cb94198e05 |
---|---|
92 static char* spudec_ifo=NULL; | 92 static char* spudec_ifo=NULL; |
93 | 93 |
94 static int has_audio=1; | 94 static int has_audio=1; |
95 char *audio_codec=NULL; // override audio codec | 95 char *audio_codec=NULL; // override audio codec |
96 char *video_codec=NULL; // override video codec | 96 char *video_codec=NULL; // override video codec |
97 char **video_codec_list=NULL; // override video codec | |
97 char* audio_fm=NULL; // override audio codec family | 98 char* audio_fm=NULL; // override audio codec family |
98 char* video_fm=NULL; // override video codec family | 99 char* video_fm=NULL; // override video codec family |
100 char** video_fm_list=NULL; // override video codec family | |
99 | 101 |
100 int out_audio_codec=-1; | 102 int out_audio_codec=-1; |
101 int out_video_codec=-1; | 103 int out_video_codec=-1; |
102 | 104 |
103 // audio stream skip/resync functions requires only for seeking. | 105 // audio stream skip/resync functions requires only for seeking. |
631 // append 'expand' filter, it fixes stride problems and renders osd: | 633 // append 'expand' filter, it fixes stride problems and renders osd: |
632 sh_video->vfilter=vf_open_filter(sh_video->vfilter,"expand","-1:-1:-1:-1:1"); | 634 sh_video->vfilter=vf_open_filter(sh_video->vfilter,"expand","-1:-1:-1:-1:1"); |
633 sh_video->vfilter=append_filters(sh_video->vfilter); | 635 sh_video->vfilter=append_filters(sh_video->vfilter); |
634 | 636 |
635 mp_msg(MSGT_CPLAYER,MSGL_INFO,"==========================================================================\n"); | 637 mp_msg(MSGT_CPLAYER,MSGL_INFO,"==========================================================================\n"); |
636 init_best_video_codec(sh_video,video_codec,video_fm); | 638 init_best_video_codec(sh_video,video_codec_list,video_fm_list); |
637 mp_msg(MSGT_CPLAYER,MSGL_INFO,"==========================================================================\n"); | 639 mp_msg(MSGT_CPLAYER,MSGL_INFO,"==========================================================================\n"); |
638 if(!sh_video->inited) mencoder_exit(1,NULL); | 640 if(!sh_video->inited) mencoder_exit(1,NULL); |
639 | 641 |
640 } | 642 } |
641 | 643 |