Mercurial > mplayer.hg
changeset 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 | 0869f86ac983 |
children | 92329b5f6ff3 |
files | mencoder.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mencoder.c Wed Apr 10 10:19:43 2002 +0000 +++ b/mencoder.c Wed Apr 10 12:43:26 2002 +0000 @@ -672,6 +672,12 @@ if(out_video_codec>1){ sh_video->vfilter=vf_open_filter(NULL,"vo",&video_out); +// Dirty hack to fix mencoder until someone does all the new filter/vo stuff right :) +if (out_video_codec == VCODEC_LIBAVCODEC || out_video_codec == VCODEC_DIVX4) +{ + sh_video->vfilter=vf_open_filter(sh_video->vfilter, "format", "yv12"); + out_fmt = IMGFMT_YV12; +} sh_video->vfilter=append_filters(sh_video->vfilter); mp_msg(MSGT_CPLAYER,MSGL_INFO,"==========================================================================\n");