]> git.sesse.net Git - vlc/commitdiff
* modules/stream_out/transcode.c: bug fix for subtitles transcoding.
authorGildas Bazin <gbazin@videolan.org>
Thu, 7 Oct 2004 09:27:02 +0000 (09:27 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 7 Oct 2004 09:27:02 +0000 (09:27 +0000)
modules/stream_out/transcode.c

index 0f8cf73679124e993eba92bb6079bec323e5724e..9316d66af3a8a4cc6900bf17c8532d2bb4867e96 100644 (file)
@@ -1841,7 +1841,8 @@ static int transcode_spu_new( sout_stream_t *p_stream, sout_stream_id_t *id )
             return VLC_EGENERIC;
         }
     }
-    else if( !p_sys->p_spu )
+
+    if( !p_sys->p_spu )
     {
         p_sys->p_spu = spu_Create( p_stream );
         spu_Init( p_sys->p_spu );