Commit 9b9fc9ba authored by Justin Ruggles's avatar Justin Ruggles

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.
parent a1977e01
......@@ -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;
}
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -16,30 +16,30 @@
0, 6, 6, 1, 69120, 0x433bb6f6
1, 18956, 18956, 2708, 10832, 0x88f5271a
0, 7, 7, 1, 69120, 0xdbac8bee
1, 21664, 21664, 2708, 10832, 0x55c6bbe5
1, 21665, 21665, 2708, 10832, 0x55c6bbe5
0, 8, 8, 1, 69120, 0x88e2a799
1, 24372, 24372, 2708, 10832, 0x9b51ae82
1, 24373, 24373, 2708, 10832, 0x9b51ae82
0, 9, 9, 1, 69120, 0x49617b26
1, 27080, 27080, 2708, 10832, 0xcdf2409b
1, 27081, 27081, 2708, 10832, 0xcdf2409b
0, 10, 10, 1, 69120, 0xeb44ca01
1, 29788, 29788, 2708, 10832, 0x0933b1a4
1, 29789, 29789, 2708, 10832, 0x0933b1a4
0, 11, 11, 1, 69120, 0x6fea37e8
1, 32496, 32496, 2708, 10832, 0x24b77006
1, 35204, 35204, 2708, 10832, 0xf612fa8a
1, 32497, 32497, 2708, 10832, 0x24b77006
1, 35205, 35205, 2708, 10832, 0xf612fa8a
0, 12, 12, 1, 69120, 0xf55d74c7
1, 37912, 37912, 2708, 10832, 0x99884b06
1, 37913, 37913, 2708, 10832, 0x99884b06
0, 13, 13, 1, 69120, 0xb5082ca7
1, 40620, 40620, 2708, 10832, 0x3c746fbe
1, 40621, 40621, 2708, 10832, 0x3c746fbe
0, 14, 14, 1, 69120, 0x5876d758
1, 43328, 43328, 2708, 10832, 0x05f3b08a
1, 46036, 46036, 2708, 10832, 0xa6560483
1, 48744, 48744, 2708, 10832, 0xd98a8e19
1, 51452, 51452, 2708, 10832, 0xf98a0b2e
1, 54160, 54160, 2708, 10832, 0xb1039582
1, 56868, 56868, 2708, 10832, 0x85dd5c3f
1, 59576, 59576, 2708, 10832, 0x19fc801a
1, 62284, 62284, 2708, 10832, 0x95805089
1, 64992, 64992, 2708, 10832, 0x576fdec3
1, 67700, 67700, 2708, 10832, 0x704a0905
1, 70408, 70408, 2708, 10832, 0xf87ce1fa
1, 73116, 73116, 2708, 10832, 0xfc0076b9
1, 43329, 43329, 2708, 10832, 0x05f3b08a
1, 46037, 46037, 2708, 10832, 0xa6560483
1, 48745, 48745, 2708, 10832, 0xd98a8e19
1, 51453, 51453, 2708, 10832, 0xf98a0b2e
1, 54161, 54161, 2708, 10832, 0xb1039582
1, 56869, 56869, 2708, 10832, 0x85dd5c3f
1, 59578, 59578, 2708, 10832, 0x19fc801a
1, 62286, 62286, 2708, 10832, 0x95805089
1, 64994, 64994, 2708, 10832, 0x576fdec3
1, 67702, 67702, 2708, 10832, 0x704a0905
1, 70410, 70410, 2708, 10832, 0xf87ce1fa
1, 73118, 73118, 2708, 10832, 0xfc0076b9
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment