]> git.sesse.net Git - vlc/blobdiff - modules/codec/ogt/ogt.c
* ALL: separation of the SPU engine from the VOUT.
[vlc] / modules / codec / ogt / ogt.c
index 820d3232fc9ed12c209a1669b0aa986bc067007c..54eca689c16d9092202de8240ad4c510919b7cfe 100644 (file)
@@ -156,8 +156,8 @@ Decode ( decoder_t *p_dec, block_t **pp_block )
         {
             if( p_last_vout != p_sys->p_vout )
             {
-                p_sys->i_subpic_channel =
-                    vout_RegisterOSDChannel( p_sys->p_vout );
+                spu_Control( p_sys->p_vout->p_spu, SPU_CHANNEL_REGISTER,
+                             &p_sys->i_subpic_channel );
             }
 
             /* Parse and decode */