# HG changeset patch # User atmos4 # Date 1012846726 0 # Node ID bd23245535335b39dd8d2d87c83d736191c78581 # Parent 832c4dc794e0aee202e293406d698774a5d43150 Fix multifile playback (sdl was not fully reinitialized). diff -r 832c4dc794e0 -r bd2324553533 libvo/vo_sdl.c --- a/libvo/vo_sdl.c Mon Feb 04 16:05:37 2002 +0000 +++ b/libvo/vo_sdl.c Mon Feb 04 18:18:46 2002 +0000 @@ -329,9 +329,9 @@ const SDL_VideoInfo *vidInfo = NULL; static int opened = 0; - if (opened) + /*if (opened) return 0; - opened = 1; + opened = 1;*/ if(verbose > 2) printf("SDL: Opening Plugin\n"); @@ -560,7 +560,7 @@ /* if we haven't set a fullmode yet, default to the lowest res fullmode first */ /* But select a mode where the full video enter */ if (mode < 0) { - int i; + int i = 0; mode = 0; // Default to the biggest mode avaible for(i = findArrayEnd(priv->fullmodes) - 1; i >=0; i--) { if( (priv->fullmodes[i]->w >= priv->width) &&