]> git.sesse.net Git - vlc/commitdiff
Fix the display date in zvbi.
authorAntoine Cellerier <dionoea@videolan.org>
Fri, 23 May 2008 08:18:34 +0000 (10:18 +0200)
committerAntoine Cellerier <dionoea@videolan.org>
Fri, 23 May 2008 08:18:34 +0000 (10:18 +0200)
modules/codec/zvbi.c

index 53db8e626dc3131b0c6cd7fab48550f15539e84a..ea2d596e5fbe3cb193ac6c265405fcd7004bc492 100644 (file)
@@ -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;