diff options
author | Jan Ekström <jeebjp@gmail.com> | 2018-04-27 03:51:37 +0300 |
---|---|---|
committer | Karthick Jeyapal <kjeyapal@akamai.com> | 2018-05-03 10:41:13 +0530 |
commit | bad42e9b40920f079b27e5bd4103d9293046b2ed (patch) | |
tree | 2b4bb54b7b922cc98bd3cdca5ea16c852524f540 /libavformat | |
parent | 48684d26057ad830f522fc94d073a26067b49e6f (diff) | |
download | ffmpeg-bad42e9b40920f079b27e5bd4103d9293046b2ed.tar.gz |
lavf/dashenc: pass standards compliance value to the internal context
Enables one to test possibly nonstandard formats such as Opus or
FLAC in ISOBMFF, among other things.
This becomes much more useful if output segment format becomes an
option, or if the WebM segment feature gets removed.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/dashenc.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 45f7830aec..1dd633365d 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -983,10 +983,11 @@ static int dash_init(AVFormatContext *s) if (!ctx->oformat) return AVERROR_MUXER_NOT_FOUND; os->ctx = ctx; - ctx->interrupt_callback = s->interrupt_callback; - ctx->opaque = s->opaque; - ctx->io_close = s->io_close; - ctx->io_open = s->io_open; + ctx->interrupt_callback = s->interrupt_callback; + ctx->opaque = s->opaque; + ctx->io_close = s->io_close; + ctx->io_open = s->io_open; + ctx->strict_std_compliance = s->strict_std_compliance; if (!(st = avformat_new_stream(ctx, NULL))) return AVERROR(ENOMEM); |