From 22ebc9c2bd3856f588c828917e4e7312fab3c280 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Thu, 21 Jan 2021 14:29:23 +0100 Subject: muxavformat: disable libavformat's mkv automatic handling of default flag. Fixes #3200. --- libhb/muxavformat.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libhb') diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c index 798c6bf0e..9c8898c28 100644 --- a/libhb/muxavformat.c +++ b/libhb/muxavformat.c @@ -166,6 +166,7 @@ static int avformatInit( hb_mux_object_t * m ) m->time_base.den = 1000; muxer_name = "matroska"; meta_mux = META_MUX_MKV; + av_dict_set(&av_opts, "default_mode", "passthrough", 0); break; case HB_MUX_AV_WEBM: @@ -175,6 +176,7 @@ static int avformatInit( hb_mux_object_t * m ) m->time_base.den = 1000; muxer_name = "webm"; meta_mux = META_MUX_WEBM; + av_dict_set(&av_opts, "default_mode", "passthrough", 0); break; default: -- cgit v1.2.3