mirror of https://git.ffmpeg.org/ffmpeg.git
Remove inaccurate computation of pts for audio packets and rely on
libavformat to generate them. patch by Gregory Montoir, cyx users sourceforge net Originally committed as revision 14085 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ce83d48b22
commit
ca3ed63e15
|
@ -285,7 +285,7 @@ static int seq_read_packet(AVFormatContext *s, AVPacket *pkt)
|
|||
return rc;
|
||||
|
||||
pkt->stream_index = seq->audio_stream_index;
|
||||
pkt->pts = seq->current_frame_pts++;
|
||||
seq->current_frame_pts++;
|
||||
|
||||
seq->audio_buffer_full = 0;
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue