summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/muxmp4.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libhb/muxmp4.c b/libhb/muxmp4.c
index 0e7cf123c..2a39d0542 100644
--- a/libhb/muxmp4.c
+++ b/libhb/muxmp4.c
@@ -353,6 +353,13 @@ static int MP4Init( hb_mux_object_t * m )
m->current_chapter = job->chapter_start;
}
+ /* Add encoded-by metadata listing version and build date */
+ char *tool_string;
+ tool_string = (char *)malloc(80);
+ snprintf( tool_string, 80, "HandBrake %s %i", HB_VERSION, HB_BUILD);
+ MP4SetMetadataTool(m->file, tool_string);
+ free(tool_string);
+
return 0;
}