Skip to content
Snippets Groups Projects
Commit 01f1f017 authored by Peter Große's avatar Peter Große Committed by Martin Storsjö
Browse files

dashenc: use avio_dynbuf instead of packet_write callback


The dash_write function drops data, if no IOContext is initialized.

Since the mp4 muxer is used in "frag_custom" mode, data is only
written when calling av_write_frame(NULL) explicitly and thus
there will be no data loss.

To add support for webm as subordinate muxer, which doesn't have
such a mode, a dynamic buffer is required to provide an always
initialized IOContext.

Signed-off-by: default avatarPeter Große <pegro@friiks.de>
Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent dce2929e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment