]> git.sesse.net Git - vlc/blobdiff - modules/stream_out/transcode/osd.c
Moved "sub-filter" from spu_t to vout_thread_t.
[vlc] / modules / stream_out / transcode / osd.c
index 24485416e4750e1c930b09e5893201caa3eb4ace..a8950841fc63d652e235f3bad8213361e89e939f 100644 (file)
@@ -84,10 +84,7 @@ int transcode_osd_new( sout_stream_t *p_stream, sout_stream_id_t *id )
     }
 
     if( !p_sys->p_spu )
-    {
         p_sys->p_spu = spu_Create( p_stream );
-        spu_Init( p_sys->p_spu );
-    }
 
     return VLC_SUCCESS;
 
@@ -127,10 +124,7 @@ int transcode_osd_process( sout_stream_t *p_stream, sout_stream_id_t *id,
     {
         msg_Warn( p_stream, "spu channel not initialized, doing it now" );
         if( !p_sys->p_spu )
-        {
             p_sys->p_spu = spu_Create( p_stream );
-            spu_Init( p_sys->p_spu );
-        }
     }
 
     if( p_subpic )