0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00
mpv/audio/decode
wm4 7ea22fe889 ad_lavc: resume from mid-stream EOF conditions with new decode API
Workaround for an awful corner-case. The new decode API "locks" the
decoder into the EOF state once a drain packet has been sent. The
problem starts with a file containing a 0-sized packet, which is
interpreted as drain packet.

This should probably be changed in libavcodec (not treating 0-sized
packets as drain packets with the new API) or in libavformat (discard
0-sized packets as invalid), but efforts to do so have been fruitless.

Note that vd_lavc.c already does something similar, but originally for
other reasons.

Fixes #3106.
2016-06-22 21:37:36 +02:00
..
ad_lavc.c ad_lavc: resume from mid-stream EOF conditions with new decode API 2016-06-22 21:37:36 +02:00
ad_spdif.c ad_spdif: take care of deprecated libavcodec API usage 2016-04-20 19:37:45 +02:00
ad.h audio: move direct packet reading from decoders to common code 2016-01-19 22:24:38 +01:00
dec_audio.c audio: move frame clipping to a generic function 2016-02-21 18:16:41 +01:00
dec_audio.h Rewrite ordered chapters and timeline stuff 2016-02-15 21:04:07 +01:00