1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-30 11:02:10 +00:00
mpv/audio/decode
wm4 63d1d53d2f audio: ignore (some) decoding errors on initialization
It probably happens relatively often that the first packet (or even the
first N packets) of a stream will fail to decode, but decoding will
eventually succeed at a later point. Before commit 261506e3, this was
handled by an explicit retry loop (although this was also for other
purposes), but with then was changed to abort on the first error. This
makes it impossible to decode some audio streams.

Change this so that errors are ignored for the first 50 packets, which
should make it equivalent to the old code.
2014-07-29 18:05:55 +02:00
..
ad_lavc.c audio: change playback restart and resyncing 2014-07-28 21:20:37 +02:00
ad_mpg123.c audio: change playback restart and resyncing 2014-07-28 21:20:37 +02:00
ad_spdif.c audio: change playback restart and resyncing 2014-07-28 21:20:37 +02:00
ad.h audio: move initial decode to generic code 2014-07-21 19:29:58 +02:00
dec_audio.c audio: change playback restart and resyncing 2014-07-28 21:20:37 +02:00
dec_audio.h audio: ignore (some) decoding errors on initialization 2014-07-29 18:05:55 +02:00