X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fsdl%2Fconsumer_sdl_still.c;h=a5ede1aff20642e355dbf7050686f3824cd7d58f;hb=cab7cd53c3a4d9c4355751088fec61860dcabbce;hp=f9e3aa750d2e5d0b99a3c7abe2e0f0574330fc60;hpb=fd322c689371726ccf09a65ffe73c6467f8abb3c;p=melted diff --git a/src/modules/sdl/consumer_sdl_still.c b/src/modules/sdl/consumer_sdl_still.c index f9e3aa7..a5ede1a 100644 --- a/src/modules/sdl/consumer_sdl_still.c +++ b/src/modules/sdl/consumer_sdl_still.c @@ -569,6 +569,10 @@ static void *consumer_thread( void *arg ) consumer_play_video( this, frame ); mlt_frame_close( frame ); } + else + { + this->running = 0; + } } if ( mlt_properties_get_int( MLT_CONSUMER_PROPERTIES( consumer ), "sdl_started" ) == 0 )