From 8fe01bdf269a5ef0e7afdeccaf8598f5f4c0530e Mon Sep 17 00:00:00 2001 From: j-b-m Date: Tue, 28 Sep 2010 18:43:04 -0700 Subject: [PATCH] Fix crash in SDL with new kdenlive audio VU meter. Below, a patch that fixes a crash in the SDL still consumer, the bug was triggered by the recent audio monitor feature of Kdenlive. Basically, it just sets test_audio to 1 on the SDL still consumer frames. --- src/modules/sdl/consumer_sdl_still.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/sdl/consumer_sdl_still.c b/src/modules/sdl/consumer_sdl_still.c index 95cceaed..7653c954 100644 --- a/src/modules/sdl/consumer_sdl_still.c +++ b/src/modules/sdl/consumer_sdl_still.c @@ -449,7 +449,7 @@ static int consumer_play_video( consumer_sdl this, mlt_frame frame ) } pthread_mutex_unlock( &mlt_sdl_mutex ); } - + mlt_properties_set_int( MLT_FRAME_PROPERTIES( frame ), "test_audio", 1 ); if ( changed == 0 && this->last_position == mlt_frame_get_position( frame ) && this->last_producer == mlt_frame_get_original_producer( frame ) && -- 2.39.5