]> git.sesse.net Git - vlc/blobdiff - modules/codec/spudec/parse.c
subpicture_t now has a b_pausable attribute. When set to VLC_TRUE (default value...
[vlc] / modules / codec / spudec / parse.c
index 6caebf6f0da305a36e0b8965627b74cd88807e71..38289c0cc516a7b67e5713db2c6706a893b8de21 100644 (file)
@@ -71,6 +71,8 @@ subpicture_t * E_(ParsePacket)( decoder_t *p_dec )
     p_spu = p_dec->pf_spu_buffer_new( p_dec );
     if( !p_spu ) return NULL;
 
+    p_spu->b_pausable = VLC_TRUE;
+
     /* Rationale for the "p_spudec->i_rle_size * 4": we are going to
      * expand the RLE stuff so that we won't need to read nibbles later
      * on. This will speed things up a lot. Plus, we'll only need to do