From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org>
Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100])
	by master.gitmailbox.com (Postfix) with ESMTPS id EB88B4BAE8
	for <ffmpegdev@gitmailbox.com>; Fri, 28 Mar 2025 21:59:52 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 35A85687C43;
	Fri, 28 Mar 2025 23:59:48 +0200 (EET)
Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com
 [209.85.214.182])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6C9A6687A92
 for <ffmpeg-devel@ffmpeg.org>; Fri, 28 Mar 2025 23:59:41 +0200 (EET)
Received: by mail-pl1-f182.google.com with SMTP id
 d9443c01a7336-227aaa82fafso56903235ad.2
 for <ffmpeg-devel@ffmpeg.org>; Fri, 28 Mar 2025 14:59:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1743199179; x=1743803979; darn=ffmpeg.org;
 h=subject:date:from:to:message-id:from:to:cc:subject:date:message-id
 :reply-to; bh=jB7StNbAhzs8Og8o7VyA5+wiACXzuOj0qCJjTgZ4IKk=;
 b=R7xqn3SV0pyl+bL9dHe6tDvWv7O6n89z8cbVIsisclULHYf+8ua0B6FVrA+38sqkQR
 6CNl16IkXanUosw8EhKCf7dXcFVrQYMY8aAlmbZ6WopCF/n7LxmVA+TyEj2DknIz8xZP
 +H4ldIryFzXTu2OLHi+xyX0izthfuZ+4M0dDtYhrDLkR3Sws/QMD+LvA7f6jz83iY2aW
 Y8jl/786O7ZQtPvrThjkqHJtLAExlab29T4gmlfWS/OXyaX7mwvEtCMtKWjAQazLrxlL
 h21aCm89RDRz8SRX/ycm/WnMZOlYzsANyqi1Mj/XlqSOxOE8oQJhGpWbWfbHcoRPMm7T
 r/EA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1743199179; x=1743803979;
 h=subject:date:from:to:message-id:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=jB7StNbAhzs8Og8o7VyA5+wiACXzuOj0qCJjTgZ4IKk=;
 b=qMJWnNk5Fi57QrSD5hKLFroIWiNh5OVIpwlBa2yogvOmS6P8/8d3k8PDIHE8OZhhO2
 0cPcOyb/LaDw5ZikDgpYNDyHgeF8jGSwuCyk8Ucs0+UVDup8aDioTM9Ysk8W6cftE2JQ
 giS28duEkQVK1rROA1Lo8iDW2YRagr7UXmylhELCjUH+XQ+mE+ffO9y6++6XD/2DyK8T
 2zkhiOFl7meWeebQdfZFxsRVoDFr06cd0yUQGTHQtlYw4k/G1b9yymLLSrIRphtY9TG0
 swxX+12H6OIXanS7brBMB99id9Om/w+1KSoNgNBXZDOpCvgdNeS0GYGYSuU9X7w28sjQ
 oc4w==
X-Gm-Message-State: AOJu0YyOv6crEfqT5CXtKvyt67qAW9o8M8JP8lyHt87gYmSifgCHNXu0
 JjXByANgTcuMua6iLl44C8JwtA+tcyMCsfDApprE/Ie+UZFAUnkM/WPBDQ==
X-Gm-Gg: ASbGncu3SmomRndJXJmcr66S7jnKNUAOIZOMcb6QvSo6vXxl0usWaxLneA24JPCn/Rz
 mHtgmoRQkkm0vTMtIiC1omwK+YdsHD+7DMBzHutYF6/Ez96yTrcNApKfUlscC0UeEdSn/Q73lOq
 QuvIAv9hBZNMKOc26hlJ69brnuFw2csAESAoame91g8EMu7oJ3KHHFIk8cvYHGUBFEEkqfPxcAq
 xA7tWDJgiWaE+23hKC+AFx+2bnFONLFSPUf4GpQCNoIEuoGbeZqMotQtGGDXuOqBgP0+/tcKjd0
 EB0ANkPY81UumXM+GLs1MmVBm9dP5MR5iW9SzwVS4pjGvQ==
X-Google-Smtp-Source: AGHT+IG9OFCFl0bZ2irS00EB5KtHKlTCKxO5E1Uli5j7Sg+7fThFSm4mygYISptqZT/0/Qn7fXZCxA==
X-Received: by 2002:a17:903:2349:b0:21f:68ae:56e3 with SMTP id
 d9443c01a7336-2292f9d4e76mr9610375ad.39.1743199178743; 
 Fri, 28 Mar 2025 14:59:38 -0700 (PDT)
Received: from localhost ([103.208.20.204]) by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-2291eee516bsm23854735ad.104.2025.03.28.14.59.37
 for <ffmpeg-devel@ffmpeg.org>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Fri, 28 Mar 2025 14:59:38 -0700 (PDT)
Message-Id: <D8S8J9U78MZD.2HOMKPY3LA0XE@gmail.com>
To: <ffmpeg-devel@ffmpeg.org>
From: "llyyr" <llyyr.public@gmail.com>
Date: Sat, 29 Mar 2025 03:26:44 +0530
Subject: [FFmpeg-devel] [PATCH] avutil/hwcontext_vulkan: stop checking for
 deprecated and removed flag
X-BeenThere: ffmpeg-devel@ffmpeg.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org>
List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe>
List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel>
List-Post: <mailto:ffmpeg-devel@ffmpeg.org>
List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help>
List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe>
Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/D8S8J9U78MZD.2HOMKPY3LA0XE@gmail.com/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>

AV_VK_FRAME_FLAG_CONTIGUOUS_MEMORY was deprecated in e0f2d2e70228d022195afccc057bd6dc8b688c21
and removed in 09a57602991d47011247f2683f32a53255adcf09

Fixes: e0f2d2e70228d022195afccc057bd6dc8b688c21
Fixes: 09a57602991d47011247f2683f32a53255adcf09
---
 libavutil/hwcontext_vulkan.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index 6b9c438222a1..83efc5afa60a 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -3882,9 +3882,6 @@ static int vulkan_map_to_drm(AVHWFramesContext *hwfc, AVFrame *dst,
         vk->GetImageSubresourceLayout(hwctx->act_dev, f->img[i], &sub, &layout);
         drm_desc->layers[i].planes[0].offset = layout.offset;
         drm_desc->layers[i].planes[0].pitch  = layout.rowPitch;
-
-        if (hwfctx->flags & AV_VK_FRAME_FLAG_CONTIGUOUS_MEMORY)
-            drm_desc->layers[i].planes[0].offset += f->offset[i];
     }
 
     dst->width   = src->width;

base-commit: b6bcc1c3c26891fa7e301437eacc120cc91860eb
-- 
2.49.0
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".