Commit a9583b5d authored by Gildas Bazin's avatar Gildas Bazin

* modules/stream_out/transcode.c: bug fix for subtitles transcoding.

parent 0f9da48d
...@@ -1841,7 +1841,8 @@ static int transcode_spu_new( sout_stream_t *p_stream, sout_stream_id_t *id ) ...@@ -1841,7 +1841,8 @@ static int transcode_spu_new( sout_stream_t *p_stream, sout_stream_id_t *id )
return VLC_EGENERIC; return VLC_EGENERIC;
} }
} }
else if( !p_sys->p_spu )
if( !p_sys->p_spu )
{ {
p_sys->p_spu = spu_Create( p_stream ); p_sys->p_spu = spu_Create( p_stream );
spu_Init( p_sys->p_spu ); spu_Init( p_sys->p_spu );
......
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