projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
SDL Preview second checkin
[melted]
/
src
/
modules
/
sdl
/
consumer_sdl_still.c
diff --git
a/src/modules/sdl/consumer_sdl_still.c
b/src/modules/sdl/consumer_sdl_still.c
index
3280bc1
..
d37255a
100644
(file)
--- 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