Re: [sdljava-users] SDLVideoTest fails on FC4
Status: Beta
Brought to you by:
ivan_ganza
From: Ivan Z. G. <iva...@ya...> - 2006-03-04 01:57:08
|
Greetings Shane, Sorry that your having trouble. I just tried it myself and I don't see=20 the image either. Just a blank window. Not sure when this stopped=20 working. Should hit myself for not regression testing. I will try to=20 figure out the problem. Don't want to add more bad news but I never implemented the YUV Overlay=20 stuff. Don't really know much about that aspect. Is it just a few method=20 calls or much more involved? I think I remember it wasn't easy to map=20 (via swig) initially so that is why I skipped it. testimage seems to be working fine though. hmm. -Ivan/ Shane M. Walton wrote: > The current binary download for Linux i386 doesn=92t give me the=20 > NullPointerException, but it doesn=92t show the test_bmp.bmp aka power=20 > plant. > > My ultimate goal is to create a Java video application that can render=20 > video using the YUV Overlay. Maybe it would just work, but I don=92t=20 > feel all warm and fuzzy if the test application doesn=92t. Has anybody=20 > else had this issue? > > Shane > > -----------------------------------------------------------------------= - > > *From:* sdl...@li...=20 > [mailto:sdl...@li...] *On Behalf Of=20 > *Shane M. Walton > *Sent:* Friday, March 03, 2006 7:35 AM > *To:* sdl...@li... > *Subject:* [sdljava-users] SDLVideoTest fails on FC4 > > OS: Fedora Core 4 (i686) > > SDL: 1.2.8-3.2 > > JDK: Sun 1.5.0_06 > > SWIG: 1.3.24-2 > > The following happens with both stable release and cvs trunk checkout: > > java -Djava.library.path=3D./lib -cp ./classes/ sdljava.video.SDLVideoT= est > > Video subsystem initialized > > java.lang.NullPointerException > > at sdljava.video.SDLPixelFormat.getPalette(SDLPixelFormat.java:61) > > at sdljava.video.SDLPixelFormat.toString(SDLPixelFormat.java:375) > > at sdljava.video.SDLSurface.toString(SDLSurface.java:1122) > > at java.lang.String.valueOf(String.java:2577) > > at java.lang.StringBuffer.append(StringBuffer.java:220) > > at sdljava.video.SDLVideoTest.init(SDLVideoTest.java:21) > > at sdljava.video.SDLVideoTest.main(SDLVideoTest.java:70) > > Seems like all accessors in SDLPixelFormat throw a NullPointerException. > > Thanks. > > Shane > |