diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-12-16 21:26:12 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-12-20 19:02:24 +0200 |
commit | b4564c2d4fdc14f1fcb6987b8f57a2c27a08bf54 (patch) | |
tree | 714946d9c340a402c6a08c05e3354b92ba3506c5 /playtreeparser.c | |
parent | f0649f13d698eb6aeffeaacd6801b666c4366caf (diff) | |
download | mpv-b4564c2d4fdc14f1fcb6987b8f57a2c27a08bf54.tar.bz2 mpv-b4564c2d4fdc14f1fcb6987b8f57a2c27a08bf54.tar.xz |
core: audio: make ogg missing audio timing workaround more complex
After the addition of exact seeking the code to work around missing
audio timestamps with ogg/ogm needs improvement. Now it's normal to
need adjustment at stream start time 0 (seeking to a position after
start of video but before second keyframe) with any video format, and
for exact seeks with ogg it's now more important not to skip the
sync. Make the check to detect the problem case more precise to avoid
affecting most other formats, and try to decode a second of audio
(hoping to get timestamps for those packets) before giving up.
Diffstat (limited to 'playtreeparser.c')
0 files changed, 0 insertions, 0 deletions