]> git.sesse.net Git - mlt/commit
Increase the speed of switching between sdl_still and sdl.
authorDan Dennedy <dan@dennedy.org>
Mon, 20 Dec 2010 03:43:47 +0000 (19:43 -0800)
committerDan Dennedy <dan@dennedy.org>
Mon, 20 Dec 2010 03:43:47 +0000 (19:43 -0800)
commit297fa3c3537899334e5e1a4efbb92bc19a27bab8
treed20e09d03e017878d3f7a22751279b786874bd47
parentbcbbe10491377188f9d2289d2479affb65a46887
Increase the speed of switching between sdl_still and sdl.

Based on patch from Jonathan Thomas.

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.
src/modules/sdl/consumer_sdl.c
src/modules/sdl/consumer_sdl_preview.c