mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 21:31:52 +00:00
disable dr1 for huffyuv (422P & stride hack & dr1 -> bad )
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8201 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f4f701af5d
commit
d8cd888d33
@ -146,6 +146,9 @@ static int init(sh_video_t *sh){
|
||||
#if LIBAVCODEC_BUILD > 4615
|
||||
if(lavc_codec->capabilities&CODEC_CAP_DR1)
|
||||
ctx->do_dr1=1;
|
||||
//XXX:FIXME:HACK:UGLY 422P with direct rendering is buggy cuz of that chroma stride trick ...
|
||||
if(sh->format == mmioFOURCC('H','F','Y','U'))
|
||||
ctx->do_dr1=0;
|
||||
#endif
|
||||
|
||||
#if LIBAVCODEC_BUILD >= 4624
|
||||
|
Loading…
Reference in New Issue
Block a user