summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-06-22 21:37:36 +0200
committerwm4 <wm4@nowhere>2016-06-22 21:37:36 +0200
commit7ea22fe889fececeb653daa5f957ae600d7bb616 (patch)
treef67c9c1ec8d1fdaf7782e45be111ddc4149fff53 /video
parent9d0af0681191823608d9bbc290f5f30fc60e228e (diff)
downloadmpv-7ea22fe889fececeb653daa5f957ae600d7bb616.tar.bz2
mpv-7ea22fe889fececeb653daa5f957ae600d7bb616.tar.xz
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.
Diffstat (limited to 'video')
0 files changed, 0 insertions, 0 deletions