diff options
author | Peter Große <[email protected]> | 2017-01-29 15:26:31 +0100 |
---|---|---|
committer | Martin Storsjö <[email protected]> | 2017-01-31 00:38:29 +0200 |
commit | 01f1f017d831cf14617aaaeafcec3ae3a81efce7 (patch) | |
tree | e07fd92eb3aaac784f7414819aaab6d1c9baafcf /libavcodec/vaapi_encode.c | |
parent | dce2929efa8e82b0832a828f7e8cb81ff8c20a4e (diff) |
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: Peter Große <[email protected]>
Signed-off-by: Martin Storsjö <[email protected]>
Diffstat (limited to 'libavcodec/vaapi_encode.c')
0 files changed, 0 insertions, 0 deletions