avsync patch by (Gildas Bazin <gbazin at altern dot org>)

Originally committed as revision 2805 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Gildas Bazin
2004-02-20 14:39:15 +00:00
committed by Michael Niedermayer
parent 2451592652
commit 2092bd7531
2 changed files with 9 additions and 2 deletions

View File

@ -836,6 +836,7 @@ static void mpegts_push_data(void *opaque,
memcpy(pkt->data, p, len);
pkt->stream_index = pes->st->index;
pkt->pts = pes->pts;
pkt->dts = pes->dts;
/* reset pts values */
pes->pts = AV_NOPTS_VALUE;
pes->dts = AV_NOPTS_VALUE;