From e44d60cd847c677334722410b39846ff763e846d Mon Sep 17 00:00:00 2001 From: lilo_booter Date: Thu, 21 Oct 2004 15:19:51 +0000 Subject: [PATCH] SDL Preview second checkin git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@487 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/modules/sdl/consumer_sdl_still.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/sdl/consumer_sdl_still.c b/src/modules/sdl/consumer_sdl_still.c index 3280bc19..d37255ab 100644 --- a/src/modules/sdl/consumer_sdl_still.c +++ b/src/modules/sdl/consumer_sdl_still.c @@ -462,6 +462,8 @@ static void *consumer_thread( void *arg ) else { mlt_properties_set_int( mlt_consumer_properties( consumer ), "changed", 2 ); + if ( SDL_GetVideoSurface( ) != NULL ) + consumer_get_dimensions( &this->window_width, &this->window_height ); } // Loop until told not to -- 2.39.2