mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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;
|
return rc;
|
||||||
|
|
||||||
pkt->stream_index = seq->audio_stream_index;
|
pkt->stream_index = seq->audio_stream_index;
|
||||||
pkt->pts = seq->current_frame_pts++;
|
seq->current_frame_pts++;
|
||||||
|
|
||||||
seq->audio_buffer_full = 0;
|
seq->audio_buffer_full = 0;
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user