Even better, lets demo an mp3 that has preskip (the earlier appears to not have
had it). This way we see the handling create different offsets for MSE and SRC=
Using MSE (pre-skip not removed)
[1:10:0517/141219:VERBOSE3:decoder_stream.cc(831)] CheckForTimestampGap setting
audio_base:0
[1:10:0517/141219:VERBOSE3:decoder_stream.cc(901)] RecordOutputDuration 623
frames
[1:10:0517/141219:VERBOSE3:decoder_stream.cc(856)] CheckForTimestampGap NOT
stabilized. tries:0 offset was:0 now:11996
[1:10:0517/141219:VERBOSE3:decoder_stream.cc(901)] RecordOutputDuration 1152
frames
[1:10:0517/141219:VERBOSE3:decoder_stream.cc(850)] CheckForTimestampGap
stabilized! tries:1 offset:11996
[1:10:0517/141219:VERBOSE3:decoder_stream.cc(901)] RecordOutputDuration 1152
frames
[1:10:0517/141219:VERBOSE3:decoder_stream.cc(881)] CheckForTimestampGap delta:0
expected_ts:78367 actual_ts:78367 audio_ts_offset:11996 base_ts:0
[1:10:0517/141219:VERBOSE3:decoder_stream.cc(901)] RecordOutputDuration 1152
frames
[1:10:0517/141219:VERBOSE3:decoder_stream.cc(881)] CheckForTimestampGap delta:-1
expected_ts:104490 actual_ts:104489 audio_ts_offset:11996 base_ts:0
[1:10:0517/141219:VERBOSE3:decoder_stream.cc(901)] RecordOutputDuration 1152
frames
[1:10:0517/141219:VERBOSE3:decoder_stream.cc(881)] CheckForTimestampGap delta:0
expected_ts:130612 actual_ts:130612 audio_ts_offset:11996 base_ts:0
Same file using SRC= (pre-skip and codec delay removed)
[1:10:0517/141302:VERBOSE3:decoder_stream.cc(831)] CheckForTimestampGap setting
audio_base:0
[1:10:0517/141302:VERBOSE3:decoder_stream.cc(901)] RecordOutputDuration 47
frames
[1:10:0517/141302:VERBOSE3:decoder_stream.cc(856)] CheckForTimestampGap NOT
stabilized. tries:0 offset was:0 now:25057
[1:10:0517/141302:VERBOSE3:decoder_stream.cc(901)] RecordOutputDuration 1152
frames
[1:10:0517/141302:VERBOSE3:decoder_stream.cc(850)] CheckForTimestampGap
stabilized! tries:1 offset:25057
[1:10:0517/141302:VERBOSE3:decoder_stream.cc(901)] RecordOutputDuration 1152
frames
[1:10:0517/141302:VERBOSE3:decoder_stream.cc(881)] CheckForTimestampGap delta:0
expected_ts:78367 actual_ts:78367 audio_ts_offset:25057 base_ts:0
[1:10:0517/141302:VERBOSE3:decoder_stream.cc(901)] RecordOutputDuration 1152
frames
[1:10:0517/141302:VERBOSE3:decoder_stream.cc(881)] CheckForTimestampGap delta:0
expected_ts:104490 actual_ts:104490 audio_ts_offset:25057 base_ts:0
https://codereview.chromium.org/1954633002/