diff vobsub.c @ 26732:401426ba1ecf

Seek by pts accurately.
author ulion
date Wed, 14 May 2008 03:37:03 +0000
parents 5448bd27b954
children 99458e732ebd
line wrap: on
line diff
--- a/vobsub.c	Tue May 13 18:32:09 2008 +0000
+++ b/vobsub.c	Wed May 14 03:37:03 2008 +0000
@@ -1343,7 +1343,7 @@
 {
   vobsub_t * vob = (vobsub_t *)vobhandle;
   packet_queue_t * queue;
-  int seek_pts100 = (int)pts * 90000;
+  int seek_pts100 = pts * 90000;
 
   if (vob->spu_streams && 0 <= vobsub_id && (unsigned) vobsub_id < vob->spu_streams_size) {
     /* do not seek if we don't know the id */