[Mlt-devel] SDL_Preview patch to improve speed
Brought to you by:
ddennedy,
lilo_booter
From: Jonathan T. <jon...@gm...> - 2010-12-19 22:41:42
|
Dan, Here is a patch for the SDL_Preview consumer, that increases the speed when switching between the STILL and SDL consumers. It does this by *not*calling the SDL_InitSubSystem( SDL_INIT_AUDIO ) and SDL_QuitSubSystem( SDL_INIT_AUDIO ) methods every time it switches, but rather when the SDL Preview consumer is started and stopped. I have tested this patch against OpenShot when using the regular SDL consumer and the SDL Preview consumer. I can't make it break, so I feel pretty good about it. Please let me know if you see any potential issues with the patch. Thanks! -Jonathan |