mirror of https://github.com/mpv-player/mpv
10l for me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15695 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
65b398c9b6
commit
7be0f7efcf
|
@ -453,9 +453,9 @@ static void draw_slice(struct AVCodecContext *s,
|
||||||
#endif
|
#endif
|
||||||
if (y < sh->disp_h) {
|
if (y < sh->disp_h) {
|
||||||
#if LIBAVCODEC_BUILD >= 4670
|
#if LIBAVCODEC_BUILD >= 4670
|
||||||
mpcodecs_draw_slice (sh, source, src->linesize, sh->disp_w, (y+16)<=sh->disp_h?height:sh->disp_h-y, 0, y);
|
mpcodecs_draw_slice (sh, source, src->linesize, sh->disp_w, (y+height)<=sh->disp_h?height:sh->disp_h-y, 0, y);
|
||||||
#else
|
#else
|
||||||
mpcodecs_draw_slice (sh,src, stride, sh->disp_w, (y+16)<=sh->disp_h?height:sh->disp_h-y, 0, y);
|
mpcodecs_draw_slice (sh,src, stride, sh->disp_w, (y+height)<=sh->disp_h?height:sh->disp_h-y, 0, y);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue