mirror of
https://github.com/mpv-player/mpv
synced 2025-01-01 04:36:24 +01:00
Fix filepos calculation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22777 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
990831727c
commit
a2177f8bfc
@ -412,7 +412,7 @@ static void afterReading(void* clientData, unsigned frameSize,
|
||||
bufferQueue->prevPacketWasSynchronized = hasBeenSynchronized;
|
||||
|
||||
dp->pos = demuxer->filepos;
|
||||
demuxer->filepos += frameSize;
|
||||
demuxer->filepos += frameSize + headersize;
|
||||
|
||||
// Signal any pending 'doEventLoop()' call on this queue:
|
||||
bufferQueue->blockingFlag = ~0;
|
||||
|
Loading…
Reference in New Issue
Block a user