On Sun, Dec 19, 2010 at 2:41 PM, Jonathan Thomas <[email protected]> wrote: > 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.
Thank you. It works fine in kdenlive as well. I applied it with minor changes. For one, compiler warnings suggested adding braces to if-if-else expressions, which I did. Also, in revised and new code, I have stopped doing 'foo != 0' and 'bar != NULL' comparisons, preferring instead !foo and bar. -- +-DRD-+ ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Mlt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mlt-devel
