]> granicus.if.org Git - handbrake/commitdiff
muxavformat: fix writing alternative track name in mp4 hdlr atom
authorJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 2 Aug 2019 20:13:44 +0000 (13:13 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Sun, 11 Aug 2019 22:36:41 +0000 (15:36 -0700)
ffmpeg changed the name of the metadata key at some point

libhb/muxavformat.c

index 353e519fcd71e9fae94fcc2f7999869a266266f2..ecedc0be12ca192e1bd3605f9cdff8239152a884 100644 (file)
@@ -701,7 +701,7 @@ static int avformatInit( hb_mux_object_t * m )
         {
             // Some software (MPC, mediainfo) use hdlr description
             // for track title
-            av_dict_set(&track->st->metadata, "handler", name, 0);
+            av_dict_set(&track->st->metadata, "handler_name", name, 0);
         }
     }