set pts of the demux patcket correctly

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19217 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2006-07-28 14:44:11 +00:00
parent cf6b945116
commit 048f1a6244
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ static int demux_avs_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds)
sh_video->num_frames_decoded++;
sh_video->num_frames++;
d_video->pts=AVS->frameno / sh_video->fps; // OSD
dp->pts=AVS->frameno / sh_video->fps;
memcpy(dp->buffer, curr_frame->vfb->data + curr_frame->offset, curr_frame->vfb->data_size);
ds_add_packet(demuxer->video, dp);