Mercurial > mplayer.hg
changeset 26624:b21222573964
vo_gl -dr actually works fine with non-readable MP_IMGTYPE_IP and MP_IMGTYPE_IPB.
author | reimar |
---|---|
date | Sat, 03 May 2008 14:40:42 +0000 |
parents | 61f2d6d20c6e |
children | 5b89b42f6d50 |
files | libvo/vo_gl.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_gl.c Sat May 03 14:25:10 2008 +0000 +++ b/libvo/vo_gl.c Sat May 03 14:40:42 2008 +0000 @@ -669,8 +669,6 @@ 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);