From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 106274C03C for ; Mon, 6 Oct 2025 13:35:22 +0000 (UTC) Authentication-Results: ffbox; dkim=fail (body hash mismatch (got b'mOMDO50ARko+ViFz6mNF40INk48WbuGIVxHquHaTjq0=', expected b'X7NZZE9KsMqUml8+xn76QbhxdQnw/ZUJWKRJ1CQKrsM=')) header.d=ffmpeg.org header.i=@ffmpeg.org header.a=rsa-sha256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1759757717; h=mime-version : to : date : message-id : reply-to : subject : list-id : list-archive : list-archive : list-help : list-owner : list-post : list-subscribe : list-unsubscribe : from : cc : content-type : content-transfer-encoding : from; bh=mOMDO50ARko+ViFz6mNF40INk48WbuGIVxHquHaTjq0=; b=jlctHQgW0iwKlduk39BTO3xeBwNC9g7vCTFf8MR7MyqJzGnDJsMRrX8o+WwJJXgwm6wDO 2Vo19dUtBwLgtc4uy6cNciQ73WnyjlVE9KE5cvCNUfDsm5A7eMN4ds3Lx1Knd4ws+OiiCzg ToPwrMe2soOLghxQXczhS7gchEBOxKiN6JdYPbwhtFlC9mZWTxTM879eyzTQYMMO1l3mmWt zAxJSp6EQFhQyiwerTMeqWO8njgFctrAt+2dlZSO8e3+meMr0olsajWlnCs8rPx4Ah6/hTo f5mkT4mfR4+ScZIi3k9+GOWeyZ5xxMBUe046YXYFtDWk02ZNSH1EMHTyunDw== Received: from [172.18.0.2] (unknown [172.19.0.4]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id A9B0C68F036; Mon, 6 Oct 2025 16:35:17 +0300 (EEST) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=ffmpeg.org; s=arc; t=1759757705; b=cNz4ozFvRCPOCZ3pQ9Faq/n//NtSfoUZFlk9iMtTTz74gd3OR5jg1x304XWUQ4eArYzup BB0fwgHCodb+ZwreeEnczxFADS1J/2MFE7oqCuNAVXvK6mCOCmJT+ZwDy5DOZedLCxJ8/jo vYoV3NpDFxLb3LDVm2UgGBUZT8dDc1DgKBRUIsvwMZpQ443ifRg339TgGkwg8hkODMvhCBi NG9w2sMwGhYibr7ylHxkwTyZFVC+qkLTeqWb82P6StxVIRm+Xl4l+F+MeNxVR3oeZgxMsOj yE/ESzjTgZb8QXQ2DC/NlSFtQmSjoziS4NH0F0lLImIe3e0KeJw7p3rFMgXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ffmpeg.org; s=arc; t=1759757705; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=+CipHxrCEz2rnDn7Luc/o5/iU6Ov7zAnIaTAytV3aQE=; b=bXjFmzw9xAXdEKsc0e9kq8BHN3WWj60QqWgpKQMC6wr+Coi+1bk+nkvFo5YRcLNtwMVfc ntLqk3eYA3ydMXRvMDE+ijiOb2OPDKBa4lMaSwtnemo5kbifvmY+NSFoQXf9zz8Tnv5iYXz tHi86qnFyZL51pwd18qRqrbD9WHhNCWcK5OR6olcqhEtcKBU2vefbsZV6SqoMM7xb/Zk9wQ AdrdZDiORqWMMbcTsGBk56+4DR+Lur6sXb09MrLYfrDLowSuqEJ1kYxC3Qrxbhz2snZ9KB9 eF7mWRFZVa8gYk+WTtZfS7wasBwMrBJV0avERkjjOdplRB0YTmTOp3kWAgMQ== ARC-Authentication-Results: i=1; ffmpeg.org; dkim=pass header.d=ffmpeg.org header.i=@ffmpeg.org; arc=none; dmarc=pass header.from=ffmpeg.org policy.dmarc=quarantine Authentication-Results: ffmpeg.org; dkim=pass header.d=ffmpeg.org header.i=@ffmpeg.org; arc=none (Message is not ARC signed); dmarc=pass (Used From Domain Record) header.from=ffmpeg.org policy.dmarc=quarantine DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1759757699; h=content-type : mime-version : content-transfer-encoding : from : to : reply-to : subject : date : from; bh=X7NZZE9KsMqUml8+xn76QbhxdQnw/ZUJWKRJ1CQKrsM=; b=1MmdUyV62obseJGy/8hA7qmEaU5VFZZeuQK7O89m4guyyBDnYqRnu1hlk/68LrvvbI0j9 OtWZGeK/lgDRUX1k6zH5cq5CCh9VVjdLF7mEHHHpfOyr3y7KiKoXYrbPbwmapGCW5JppbdB 8BlQI8E2SMnyrgZ4Ed1PeoRm6MrqAWh/y9w8qWHqxEB2+2X1fSJzDN8vVy8jWR6Hnnlv/Kh 78WZFUax5anKIHWYuzq/1DLmjjKp57iWrVbrLizBf/W3/9oz900eo/wQgdeCSH6lctgMhf9 0xdd5TyMeVeNhVmiGNnceeisTS9Ap1nxTe0LrxsJ67RiSbxsShUt098NlXAg== Received: from be50bb5a3685 (code.ffmpeg.org [188.245.149.3]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id F267068EFD1 for ; Mon, 6 Oct 2025 16:34:58 +0300 (EEST) MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Date: Mon, 06 Oct 2025 13:34:58 -0000 Message-ID: <175975769912.65.17039490683985091812@bf249f23a2c8> Message-ID-Hash: OUOALZYBKUKKYIGUKMQ7WYOJ6LRXQQBS X-Message-ID-Hash: OUOALZYBKUKKYIGUKMQ7WYOJ6LRXQQBS X-MailFrom: code@ffmpeg.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-ffmpeg-devel.ffmpeg.org-0; header-match-ffmpeg-devel.ffmpeg.org-1; header-match-ffmpeg-devel.ffmpeg.org-2; header-match-ffmpeg-devel.ffmpeg.org-3; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list Reply-To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] [PATCH] avformat/mccenc: use Lavf version string instead of FFmpeg (PR #20655) List-Id: FFmpeg development discussions and patches Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: James Almer via ffmpeg-devel Cc: James Almer Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Archived-At: List-Archive: List-Post: PR #20655 opened by James Almer (jamrial) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20655 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20655.patch The muxed subtitle is created by libavformat, and as such that's what should be reported. This is in line with the string we write for every other muxer. After this change, the muxer will no longer be recompiled every time a commit is made. >>From 84f14baa5c9ad26e35e84f385fb6ae708adb989e Mon Sep 17 00:00:00 2001 From: James Almer Date: Mon, 6 Oct 2025 10:32:15 -0300 Subject: [PATCH] avformat/mccenc: use Lavf version string instead of FFmpeg The muxed subtitle is created by libavformat, and as such that's what should be reported. This is in line with the string we write for every other muxer. After this change, the muxer will no longer be recompiled every time a commit is made. Signed-off-by: James Almer --- libavformat/mccenc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/mccenc.c b/libavformat/mccenc.c index c64d53805d..1c291f75b2 100644 --- a/libavformat/mccenc.c +++ b/libavformat/mccenc.c @@ -23,6 +23,7 @@ #include "avformat.h" #include "internal.h" #include "mux.h" +#include "version.h" #include "libavcodec/codec_id.h" #include "libavcodec/smpte_436m.h" @@ -30,7 +31,6 @@ #include "libavutil/avassert.h" #include "libavutil/avstring.h" #include "libavutil/error.h" -#include "libavutil/ffversion.h" #include "libavutil/log.h" #include "libavutil/macros.h" #include "libavutil/opt.h" @@ -125,9 +125,9 @@ static int mcc_write_header(AVFormatContext *avf) const char *creation_program = mcc->creation_program; if (!creation_program) { if (avf->flags & AVFMT_FLAG_BITEXACT) - creation_program = "FFmpeg"; + creation_program = "Lavf"; else - creation_program = "FFmpeg version " FFMPEG_VERSION; + creation_program = LIBAVFORMAT_IDENT; } else if (strchr(creation_program, '\n')) { av_log(avf, AV_LOG_FATAL, "creation_program must not contain multiple lines of text\n"); return AVERROR(EINVAL); -- 2.49.1 _______________________________________________ ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org