Set pts also for audio packets

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22450 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-03-04 15:02:53 +00:00
parent 723fc2a290
commit 85671d7ee6
1 changed files with 1 additions and 0 deletions

View File

@ -217,6 +217,7 @@ static int demux_avs_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds)
return 0;
}
dp = new_demux_packet(l);
dp->pts = AVS->sampleno / sh_audio->samplerate;
if (AVS->avs_get_audio(AVS->clip, dp->buffer, AVS->sampleno, samples))
{