]> git.sesse.net Git - vlc/commitdiff
Fixed [02184fcdf33149d63023f77e69c6eb16071ee811]
authorLaurent Aimar <fenrir@videolan.org>
Wed, 10 Sep 2008 20:54:09 +0000 (22:54 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Wed, 10 Sep 2008 20:54:09 +0000 (22:54 +0200)
Sorry, I forgot 2 files.

modules/codec/spudec/spudec.c
modules/codec/spudec/spudec.h

index 5f4e83e3e7455ad650b0a109cf5ff884ab120983..cc81a5e598d5cbe9679482c472bfca3ddec1f53e 100644 (file)
@@ -151,6 +151,7 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
     /* FIXME: what the, we shouldn’t need to allocate 64k of buffer --sam. */
     p_sys->i_spu = block_ChainExtract( p_spu_block, p_sys->buffer, 65536 );
     p_sys->i_pts = p_spu_block->i_pts;
+    p_sys->i_rate = p_spu_block->i_rate;
     block_ChainRelease( p_spu_block );
 
     /* Parse and decode */
index da5789e1aab6a2e2df64c0f42314648ef343a37f..71de9ba77a138992250056b3316661f71fdaed61 100644 (file)
@@ -28,6 +28,7 @@ struct decoder_sys_t
     int b_packetizer;
 
     mtime_t i_pts;
+    int     i_rate;
     unsigned int i_spu_size;
     unsigned int i_rle_size;
     unsigned int i_spu;