summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-08-03 21:14:11 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-08-03 21:25:48 +0300
commit2ba9df3df3d61a7cc1bde9f897bc77eaaf14b383 (patch)
treeba2664cf554237fde25eac4718fb17ed63c37b08 /input
parent6cce822505c0a76ac520909a895021b8f5b7e5ab (diff)
downloadmpv-2ba9df3df3d61a7cc1bde9f897bc77eaaf14b383.tar.bz2
mpv-2ba9df3df3d61a7cc1bde9f897bc77eaaf14b383.tar.xz
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 'input')
0 files changed, 0 insertions, 0 deletions