diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-03-01 13:02:49 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-03-20 14:12:54 -0400 |
commit | 9b9fc9ba321fe20ed244aacaf9de6e88f2d5386f (patch) | |
tree | dd7ccdf76fc762edfcdedce1343ceed1a0f6e549 /avconv.c | |
parent | a1977e0103d23212b842e8398baaf0269891d9e5 (diff) | |
download | ffmpeg-9b9fc9ba321fe20ed244aacaf9de6e88f2d5386f.tar.gz |
avconv: pass input stream timestamps to audio encoders
5 FATE test references updated due to using demuxer-generated timestamps that
are either not sample-accurate or are slightly off in the input file.
Diffstat (limited to 'avconv.c')
-rw-r--r-- | avconv.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -979,6 +979,7 @@ static int encode_audio_frame(AVFormatContext *s, OutputStream *ost, if (!check_recording_time(ost)) return 0; + frame->pts = ost->sync_opts; ost->sync_opts += frame->nb_samples; } |