1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 20:34:58 +00:00

Do not count each decoded frame twice.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19222 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2006-07-28 17:03:08 +00:00
parent 3011ebe4d1
commit 79cccca643

View File

@ -186,8 +186,6 @@ static int demux_avs_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds)
} }
dp = new_demux_packet(curr_frame->vfb->data_size); dp = new_demux_packet(curr_frame->vfb->data_size);
sh_video->num_frames_decoded++;
sh_video->num_frames++;
dp->pts=AVS->frameno / sh_video->fps; dp->pts=AVS->frameno / sh_video->fps;