[MPlayer-cvslog] r26656 - trunk/libvo/vo_gl.c

reimar subversion at mplayerhq.hu
Sat May 3 16:40:42 CEST 2008


Author: reimar
Date: Sat May  3 16:40:42 2008
New Revision: 26656

Log:
vo_gl -dr actually works fine with non-readable MP_IMGTYPE_IP and MP_IMGTYPE_IPB.


Modified:
   trunk/libvo/vo_gl.c

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	(original)
+++ trunk/libvo/vo_gl.c	Sat May  3 16:40:42 2008
@@ -669,8 +669,6 @@ static uint32_t get_image(mp_image_t *mp
     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);



More information about the MPlayer-cvslog mailing list