mirror of
https://github.com/mpv-player/mpv
synced 2025-04-24 12:24:21 +00:00
check depth for direct rendering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5417 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0b14d76862
commit
83d1ae68c0
@ -538,6 +538,7 @@ static uint32_t get_image(mp_image_t *mpi)
|
||||
{
|
||||
if (zoomFlag ||
|
||||
!IMGFMT_IS_BGR(mpi->imgfmt) ||
|
||||
(IMGFMT_BGR_DEPTH(mpi->imgfmt) != vo_depthonscreen) ||
|
||||
((mpi->type != MP_IMGTYPE_STATIC) && (mpi->type != MP_IMGTYPE_TEMP)) ||
|
||||
(mpi->flags & MP_IMGFLAG_PLANAR) ||
|
||||
(mpi->flags & MP_IMGFLAG_YUV) ||
|
||||
|
Loading…
Reference in New Issue
Block a user