Re: [Libuta-develop] Problems with the libuta & SMPEG demo application
Status: Beta
Brought to you by:
klaux
From: Philip S. <pst...@gm...> - 2000-03-27 17:48:46
|
> > I'm having problems with the plaympeg demo. It plays all MPEG files much too > > slow at about 1 fps. > > Is this a bug or did I compile using some wrong settings? > > > 1 fps is damned low. I guess this is a bug. > > Could you send the version numbers of your installed SDL, SMPEG and > SDL_mixer ? > What pixeldepth does your Xserver use ? > Also information about your hardware (graphics card, processor, RAM) > would be helpfull. SDL 1.1.1 SMPEG 0.3.4 I'm not using SDL_mixer. Is this a problem? Computer: Pentium 266 (not P2) laptop some Neomagic graphics card 64mb ram 1024x768 16-bit The plaympeg tool from the smpeg library plays at full speed on my computer. The problem seems to result from the combination of smpeg and libuta. I've added some debug output to the callback function screen_update in plaympeg.cc: It's called only once per second and the refreshrect is almost instantly done. So that can't be the problem. SMPEG uses the SDL_delay function in timeSync (video/gdith.cpp). Maybe the timer is screwed up and it waits too long (note that all frames are played, they're not skipped). |