diff options
author | John Stebbins <[email protected]> | 2019-08-02 13:26:57 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-08-11 15:36:41 -0700 |
commit | 31dca439cdc2ac3753d77f376c127083bd6a41cb (patch) | |
tree | a34145b0b33475637f60672f4b26eeb70d4582db | |
parent | 17e12129b500207053373f9c8480e22191ebb570 (diff) |
muxavformat: set handler_name for subtitle track names also
-rw-r--r-- | libhb/muxavformat.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c index ecedc0be1..c2f7c2a62 100644 --- a/libhb/muxavformat.c +++ b/libhb/muxavformat.c @@ -965,6 +965,12 @@ static int avformatInit( hb_mux_object_t * m ) // Set subtitle track title av_dict_set(&track->st->metadata, "title", subtitle->config.name, 0); + if (job->mux == HB_MUX_AV_MP4) + { + // Some software (MPC, mediainfo) use hdlr description + // for track title + av_dict_set(&track->st->metadata, "handler_name", name, 0); + } } } |