diff options
author | Jun Zhao <barryjzhao@tencent.com> | 2020-07-18 19:45:55 +0800 |
---|---|---|
committer | Jun Zhao <barryjzhao@tencent.com> | 2020-07-20 19:23:15 +0800 |
commit | ba31fdfd7b7d5a077f3328bc8da5e61582b88354 (patch) | |
tree | 61da70de736b3f1e81471c094812650532413937 /libavformat/dashdec.c | |
parent | 4239a8c9831a0054af47400aaf78167178b97197 (diff) |
lavf/dashdec: enable custom interrup callback in sub-demuxer
Enable the custom callback in sub-demuxer
Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Diffstat (limited to 'libavformat/dashdec.c')
-rw-r--r-- | libavformat/dashdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 694782c820..c5a5ff607b 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -1943,6 +1943,7 @@ static int reopen_demux_for_component(AVFormatContext *s, struct representation pls->ctx->flags = AVFMT_FLAG_CUSTOM_IO; pls->ctx->probesize = s->probesize > 0 ? s->probesize : 1024 * 4; pls->ctx->max_analyze_duration = s->max_analyze_duration > 0 ? s->max_analyze_duration : 4 * AV_TIME_BASE; + pls->ctx->interrupt_callback = s->interrupt_callback; ret = av_probe_input_buffer(&pls->pb, &in_fmt, "", NULL, 0, 0); if (ret < 0) { av_log(s, AV_LOG_ERROR, "Error when loading first fragment, playlist %d\n", (int)pls->rep_idx); |