summaryrefslogtreecommitdiffstats
path: root/libvo/vo_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_x11.c')
-rw-r--r--libvo/vo_x11.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index 2e2d85e000..5a09e6a096 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -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) ||