]> git.sesse.net Git - vlc/blobdiff - modules/codec/spudec/parse.c
A bit of headers cleanup
[vlc] / modules / codec / spudec / parse.c
index 6caebf6f0da305a36e0b8965627b74cd88807e71..f747c43818bebb3f0e2d59fc2e9b008184776a52 100644 (file)
@@ -27,8 +27,8 @@
  * Preamble
  *****************************************************************************/
 #include <vlc/vlc.h>
-#include <vlc/vout.h>
-#include <vlc/decoder.h>
+#include <vlc_vout.h>
+#include <vlc_codec.h>
 
 #include "spudec.h"
 
@@ -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