diff options
author | wm4 <wm4@nowhere> | 2018-09-15 22:37:14 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-10-01 18:55:06 +0300 |
commit | 36eeeecff665c66a3079f72b3f9469a83d3df79d (patch) | |
tree | 8fd1955795eba3a538085f269cebbd48446b77ec /common/encode_lavc.c | |
parent | e74ffab36ea3d8fce4408d9d2c75142187c594c3 (diff) | |
download | mpv-36eeeecff665c66a3079f72b3f9469a83d3df79d.tar.bz2 mpv-36eeeecff665c66a3079f72b3f9469a83d3df79d.tar.xz |
demux_lavf: hack-fix EDL mp4 DASH hack
I encountered a stream that fails with "Could not demux init fragment.".
It turns out this is a regression from the recent change to that code.
The assumption was that demux_lavf.c would treat this as concatenated
stream - which it does, but not for probing.
Doing this transparently is hard without doing it properly. Doing it
properly would mean creating some sort of stream_concat (reminiscent of
that FFmpeg security bug). I probably don't want to go there, and I
think libavformat should just support this directly, so whatever.
Hack-fix this with the knowledge that the init segment will always
contain the headers.
(cherry picked from commit 315004a38a1bf9394507d8ca308da1ce86ca2204)
Diffstat (limited to 'common/encode_lavc.c')
0 files changed, 0 insertions, 0 deletions