summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
Diffstat (limited to 'libhb')
-rw-r--r--libhb/muxavformat.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c
index a5ca6b5fa..d3c2cf56f 100644
--- a/libhb/muxavformat.c
+++ b/libhb/muxavformat.c
@@ -880,6 +880,11 @@ static int avformatInit( hb_mux_object_t * m )
}
}
+ char tool_string[80];
+ snprintf(tool_string, sizeof(tool_string), "HandBrake %s %i",
+ HB_PROJECT_VERSION, HB_PROJECT_BUILD);
+ av_dict_set(&m->oc->metadata, "encoding_tool", tool_string, 0);
+
AVDictionary * av_opts = NULL;
if (job->mp4_optimize && (job->mux & HB_MUX_MASK_MP4))
av_dict_set( &av_opts, "movflags", "faststart", 0 );