]> git.sesse.net Git - vlc/blobdiff - modules/codec/ogt/cvd.c
* ALL: separation of the SPU engine from the VOUT.
[vlc] / modules / codec / ogt / cvd.c
index cccc8b8fa82364040b7703fd48c292fd808d800e..46abe55ca2552dfe8e2f5b8cf87bf177f53927c7 100644 (file)
@@ -158,8 +158,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 */