From 2e65b47b71e8458270d3988271200232536acbe5 Mon Sep 17 00:00:00 2001 From: Antoine Cellerier Date: Wed, 4 Jun 2008 16:53:19 +0200 Subject: [PATCH] Only try creating the filter chain once. --- src/video_output/video_output.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c index ac2e2d99f5..f3961a4efb 100644 --- a/src/video_output/video_output.c +++ b/src/video_output/video_output.c @@ -966,11 +966,8 @@ static void RunThread( vout_thread_t *p_vout) p_vout->psz_vf2 ) < 0 ) msg_Err( p_vout, "Video filter chain creation failed" ); - else - { - free( p_vout->psz_vf2 ); - p_vout->psz_vf2 = NULL; - } + free( p_vout->psz_vf2 ); + p_vout->psz_vf2 = NULL; vlc_mutex_unlock( &p_vout->vfilter_lock ); } -- 2.39.2