[MPlayer-dev-eng] [PATCH]: vo_gl2 bug fixes
Timo Kanera
timo at kanera.de
Fri Oct 17 23:06:53 CEST 2003
On 13 Oct 2003 20:51:09 -0400
Jeffrey Wilson <jeffrey-wilson at cinci.rr.com> wrote:
> I will give it a try. Since gl2 apparently worked once in the past (I
> think 90rc3) for some IRIX people, I might have to do some digging to
> get a diff of that version and the current code.
on mgras (Impact) based SGIs it currently bombs out while testing the usable
texture size:
SwScaler: using unscaled Planar YV12 -> BGR 24-bit special converter
VO: [gl2] 480x208 => 480x208 BGR 24-bit [zoom]
[gl2] OpenGL Driver Information:
vendor: SGI,
renderer IMPACT/2/2/4,
version 1.1 Irix 6.5
[gl2] You have OpenGL < 1.2 drivers, BAD (16bpp and BGR may be damaged!)
[gl2] Needed texture [256x512] too big, trying [256x256] !
[gl2] Needed texture [256x256] too big, trying [128x256] !
[gl2] Needed texture [128x256] too big, trying [128x128] !
[gl2] Needed texture [128x128] too big, trying [64x128] !
[gl2] Needed texture [64x128] too big, trying [64x64] !
[gl2] Needed texture [64x64] too big, trying [32x64] !
GLERROR: Give up .. usable texture size not avaiable, or texture config error !
FATAL: Cannot initialize video driver.
I added some fprintf to that section to find out with what values the
texture gets initialized. gl_bitmap_format_s is set to GL_BGR while
gl_internal_format_s is set to GL_RGB, which apparently doesn't work out.
If I hardcode gl_bitmap_format to GL_RGB too it works but with corrupted colors.
Using that version with -vop rgb2bgr produced correct colors (and a major
slowdown).
I now realized that the unmodified version also works with -vop rgb2bgr, hmmm..
Unfortunately i don't know shit about opengl coding so I'm basically digging in
the dark here..
so long,
Timo
--
Timo Kanera <timo at kanera.de> . GPG Key-ID: 1024D/30CDB412
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20031017/cdb45233/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list