Commit 2e65b47b authored by Antoine Cellerier's avatar Antoine Cellerier

Only try creating the filter chain once.

parent 3088c9e9
...@@ -966,11 +966,8 @@ static void RunThread( vout_thread_t *p_vout) ...@@ -966,11 +966,8 @@ static void RunThread( vout_thread_t *p_vout)
p_vout->psz_vf2 ) < 0 ) p_vout->psz_vf2 ) < 0 )
msg_Err( p_vout, "Video filter chain creation failed" ); 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 ); vlc_mutex_unlock( &p_vout->vfilter_lock );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment