Commit 542c7f08 authored by Antoine Cellerier's avatar Antoine Cellerier

Fix "Crash when removing filters after a video encoder failed to open". Patch by aurelien on #1923.

parent 9752da9d
......@@ -1953,9 +1953,6 @@ static int transcode_video_process( sout_stream_t *p_stream,
if( transcode_video_encoder_open( p_stream, id ) != VLC_SUCCESS )
{
filter_chain_Delete( id->p_f_chain );
if( id->p_uf_chain )
filter_chain_Delete( id->p_uf_chain );
p_pic->pf_release( p_pic );
transcode_video_close( p_stream, id );
id->b_transcode = false;
......
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