diff --git a/app/src/recorder.c b/app/src/recorder.c index 77186350..f96bcd26 100644 --- a/app/src/recorder.c +++ b/app/src/recorder.c @@ -135,6 +135,9 @@ recorder_open(struct recorder *recorder, const AVCodec *input_codec) { // recorder->ctx->oformat = (AVOutputFormat *) format; + av_dict_set(&recorder->ctx->metadata, "comment", + "Recorded by scrcpy " SCRCPY_VERSION, 0); + AVStream *ostream = avformat_new_stream(recorder->ctx, input_codec); if (!ostream) { avformat_free_context(recorder->ctx);