]> git.sesse.net Git - mlt/commitdiff
Fix regression in consumer sdl fullscreen=1.
authorDan Dennedy <dan@dennedy.org>
Fri, 27 Sep 2013 03:15:47 +0000 (20:15 -0700)
committerDan Dennedy <dan@dennedy.org>
Fri, 27 Sep 2013 03:15:47 +0000 (20:15 -0700)
Caused by commit 0f587b2.

src/modules/sdl/consumer_sdl.c

index 35015008c17b9151d1ff1ea0fa3b1ef94f35195a..033b69cebb96c67d3b71109d664274ef41f41317 100644 (file)
@@ -256,9 +256,7 @@ int consumer_start( mlt_consumer parent )
                        if ( mlt_properties_get_int( self->properties, "fullscreen" ) )
                        {
                                const SDL_VideoInfo *vi;
-                               pthread_mutex_lock( &mlt_sdl_mutex );
                                vi = SDL_GetVideoInfo();
-                               pthread_mutex_unlock( &mlt_sdl_mutex );
                                self->window_width = vi->current_w;
                                self->window_height = vi->current_h;
                                self->sdl_flags |= SDL_FULLSCREEN;