Commit 31dca439 authored by John Stebbins's avatar John Stebbins

muxavformat: set handler_name for subtitle track names also

parent 17e12129
......@@ -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);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment