[vlc-devel] commit: Fixed [02184fcdf33149d63023f77e69c6eb16071ee811] (Laurent Aimar )

git version control git at videolan.org
Wed Sep 10 22:51:28 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Sep 10 22:54:09 2008 +0200| [3ddc0024fd031e88e3c7523e565cfa2b7a79f8ed] | committer: Laurent Aimar 

Fixed [02184fcdf33149d63023f77e69c6eb16071ee811]

Sorry, I forgot 2 files.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3ddc0024fd031e88e3c7523e565cfa2b7a79f8ed
---

 modules/codec/spudec/spudec.c |    1 +
 modules/codec/spudec/spudec.h |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/codec/spudec/spudec.c b/modules/codec/spudec/spudec.c
index 5f4e83e..cc81a5e 100644
--- a/modules/codec/spudec/spudec.c
+++ b/modules/codec/spudec/spudec.c
@@ -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 */
diff --git a/modules/codec/spudec/spudec.h b/modules/codec/spudec/spudec.h
index da5789e..71de9ba 100644
--- a/modules/codec/spudec/spudec.h
+++ b/modules/codec/spudec/spudec.h
@@ -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;




More information about the vlc-devel mailing list