diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-08-03 21:14:11 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-08-03 21:25:48 +0300 |
commit | 2ba9df3df3d61a7cc1bde9f897bc77eaaf14b383 (patch) | |
tree | ba2664cf554237fde25eac4718fb17ed63c37b08 /mp3lib/dct36_3dnow.c | |
parent | 6cce822505c0a76ac520909a895021b8f5b7e5ab (diff) |
ad_pcm: Track pts explicitly
ad_pcm used the old audio timestamp tracking system that calculated
timestamp at end of decoder output as
last_timestamp_in_input_decoder_has_read +
bytes_read_after_that_timestamp / input_bitrate.
For PCM this can be accurate as input bitrate is constant. However it
relies on input bitrate being known and actually set. At least in some
case with .mov input and libavformat demuxer it wasn't set. Instead of
special-casing PCM to make sure input bitrate is set (in general it
may not be known or constant at all) change ad_pcm to explicitly set
the pts information on the decoder output side.
Diffstat (limited to 'mp3lib/dct36_3dnow.c')
0 files changed, 0 insertions, 0 deletions