[MPlayer-cvslog] r26764 - trunk/vobsub.c

ulion subversion at mplayerhq.hu
Wed May 14 05:37:03 CEST 2008


Author: ulion
Date: Wed May 14 05:37:03 2008
New Revision: 26764

Log:
Seek by pts accurately.


Modified:
   trunk/vobsub.c

Modified: trunk/vobsub.c
==============================================================================
--- trunk/vobsub.c	(original)
+++ trunk/vobsub.c	Wed May 14 05:37:03 2008
@@ -1343,7 +1343,7 @@ void vobsub_seek(void * vobhandle, float
 {
   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 */



More information about the MPlayer-cvslog mailing list