Mercurial > mplayer.hg
comparison mencoder.c @ 5546:8ec12d5ba6c6
Dirty hack to fix mencoder until someone does all the new filter/vo stuff right :)
author | rfelker |
---|---|
date | Wed, 10 Apr 2002 12:43:26 +0000 |
parents | 7a24a067f0af |
children | 38697931adf4 |
comparison
equal
deleted
inserted
replaced
5545:0869f86ac983 | 5546:8ec12d5ba6c6 |
---|---|
670 sh_video->video_out=&video_out; | 670 sh_video->video_out=&video_out; |
671 sh_video->codec=NULL; | 671 sh_video->codec=NULL; |
672 if(out_video_codec>1){ | 672 if(out_video_codec>1){ |
673 | 673 |
674 sh_video->vfilter=vf_open_filter(NULL,"vo",&video_out); | 674 sh_video->vfilter=vf_open_filter(NULL,"vo",&video_out); |
675 // Dirty hack to fix mencoder until someone does all the new filter/vo stuff right :) | |
676 if (out_video_codec == VCODEC_LIBAVCODEC || out_video_codec == VCODEC_DIVX4) | |
677 { | |
678 sh_video->vfilter=vf_open_filter(sh_video->vfilter, "format", "yv12"); | |
679 out_fmt = IMGFMT_YV12; | |
680 } | |
675 sh_video->vfilter=append_filters(sh_video->vfilter); | 681 sh_video->vfilter=append_filters(sh_video->vfilter); |
676 | 682 |
677 mp_msg(MSGT_CPLAYER,MSGL_INFO,"==========================================================================\n"); | 683 mp_msg(MSGT_CPLAYER,MSGL_INFO,"==========================================================================\n"); |
678 | 684 |
679 // Go through the codec.conf and find the best codec... | 685 // Go through the codec.conf and find the best codec... |