# HG changeset patch # User ulion # Date 1210736223 0 # Node ID 401426ba1ecf7ebaa0e186769740ccc862ec4bdf # Parent c146089413854be23d92a7340899fe5fed692850 Seek by pts accurately. diff -r c14608941385 -r 401426ba1ecf vobsub.c --- 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 */