From b096da11bab0affd22b7e6d6b61783ec64f53306 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 3 May 2008 14:40:42 +0000 Subject: vo_gl -dr actually works fine with non-readable MP_IMGTYPE_IP and MP_IMGTYPE_IPB. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26656 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_gl.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libvo') diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 6097fc10a2..68a8354e54 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -669,8 +669,6 @@ static uint32_t get_image(mp_image_t *mpi) { return VO_FALSE; } if (mpi->flags & MP_IMGFLAG_READABLE) return VO_FALSE; - if (mpi->type == MP_IMGTYPE_IP || mpi->type == MP_IMGTYPE_IPB) - return VO_FALSE; // we can not provide readable buffers if (!gl_buffer) GenBuffers(1, &gl_buffer); BindBuffer(GL_PIXEL_UNPACK_BUFFER, gl_buffer); -- cgit v1.2.3