[MPlayer-dev-eng] [PATCH] yuv support for vo_gl

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Sep 12 17:25:33 CEST 2005


Hi,
On Mon, Sep 12, 2005 at 01:45:32PM +0200, Reimar D?ffinger wrote:
> On Sun, Sep 11, 2005 at 12:00:21AM +0400, Vladimir Mosgalin wrote:
> > Colors in gl:yuv=2 are fixed now, however green border remains.
> Could it be that this happens only whe the image gets scaled up? Or
> always?
> A few things you can try (should be independant):
> 1) in vo_gl.c, replace all GL_LINEAR by GL_NEAREST
> 2) in gl_common.c try replacing GL_CLAMP by GL_CLAMP_TO_EDGE or
> GL_REPEAT.

Bah, I read the specs and it should be GL_CLAMP_TO_EDGE instead of
GL_CLAMP!
I've been searching for this bug for quite some time since it makes -vo
gl2 look really bad when it uses multiple textures.
That's what you get when you just copy the code from vo_gl2.c without
checking the specs...

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list