[vlc-devel] commit: Fix the display date in zvbi. (Antoine Cellerier )

git version control git at videolan.org
Fri May 23 14:12:29 CEST 2008


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Fri May 23 10:18:34 2008 +0200| [cde8ee9e4bf7787164a8ede9eaae8bf259345fbd]

Fix the display date in zvbi.

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

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

diff --git a/modules/codec/zvbi.c b/modules/codec/zvbi.c
index 53db8e6..ea2d596 100644
--- a/modules/codec/zvbi.c
+++ b/modules/codec/zvbi.c
@@ -346,7 +346,7 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
     /* Normal text subs, easy markup */
     p_spu->i_flags = SUBPICTURE_ALIGN_BOTTOM;
 
-    p_spu->i_start = (mtime_t) p_block->i_dts;
+    p_spu->i_start = (mtime_t) p_block->i_pts;
     p_spu->i_stop = (mtime_t) 0;
     p_spu->b_ephemer = true;
     p_spu->b_absolute = false;




More information about the vlc-devel mailing list