X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fsdl%2Fconsumer_sdl.c;h=46a6e1651c7c43e1f4488cf329ef499cc905a375;hb=ef7ca733ee283439a791bfcaea8016bfa3f44a29;hp=378a78b560e2c58727b6a6f0c46a0db5cf4beab4;hpb=65e8ac86ee6e17a12892954ff4a8d46c4766fe0d;p=melted diff --git a/src/modules/sdl/consumer_sdl.c b/src/modules/sdl/consumer_sdl.c index 378a78b..46a6e16 100644 --- a/src/modules/sdl/consumer_sdl.c +++ b/src/modules/sdl/consumer_sdl.c @@ -205,6 +205,8 @@ int consumer_start( mlt_consumer parent ) if ( !mlt_properties_get_int( MLT_CONSUMER_PROPERTIES( parent ), "audio_off" ) ) SDL_InitSubSystem( SDL_INIT_AUDIO ); + this->sdl_screen = SDL_SetVideoMode( this->window_width, this->window_height, 0, this->sdl_flags ); + pthread_create( &this->thread, NULL, consumer_thread, this ); }