summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2021-01-21 14:29:23 +0100
committerDamiano Galassi <[email protected]>2021-01-21 14:29:23 +0100
commit22ebc9c2bd3856f588c828917e4e7312fab3c280 (patch)
tree8d11179fe9c41fda0ccd1346e538533344fd940e /libhb
parent036d973063c8c6401e1dab7a38eaa60f48f31a7c (diff)
muxavformat: disable libavformat's mkv automatic handling of default flag. Fixes #3200.
Diffstat (limited to 'libhb')
-rw-r--r--libhb/muxavformat.c2
1 files changed, 2 insertions, 0 deletions
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: