mirror of
https://github.com/mpv-player/mpv
synced 2025-01-20 21:07:29 +01:00
Dirty hack to fix mencoder until someone does all the new filter/vo stuff right :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5547 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
381f18fb6e
commit
3b1c7f18da
@ -672,6 +672,12 @@ sh_video->codec=NULL;
|
||||
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");
|
||||
|
Loading…
Reference in New Issue
Block a user