Seek by pts accurately.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26764 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
1 parent
9620077483
commit
020fe6ff75
1 file changed
+1
-1
@@ -1343,7 +1343,7 @@ void vobsub_seek(void * vobhandle, float pts)
|
||||
{
|
||||
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 */
|
||||
|
||||
Reference in new issue
Block a user