From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id A27A14879E for ; Sun, 17 Mar 2024 15:11:20 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4E7E168D098; Sun, 17 Mar 2024 17:11:17 +0200 (EET) Received: from btbn.de (btbn.de [144.76.60.213]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C846C68C9C7 for ; Sun, 17 Mar 2024 17:11:10 +0200 (EET) Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id 3E7372819FC8D for ; Sun, 17 Mar 2024 16:11:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1710688268; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kmw0PtjVQb4WJF+IKufTWfjPLsoT7+KDao9YUd3hqXg=; b=JKEzJseKQfeBuTi6wRIWSiwRhtzSdKg5PnYh79xfCUKFNux5lD4QvNyTXdcNw9PwoUy5NY A9r/Qj5LCr0mmOuRF/v5T5DrDxt5SLILyb9yYpNeLFlSSyG1aacyQX4cT/OrLrlkDRcR4J YBHscqgiWe6/mgcQ1EvqVMYrgQqIMQ1YSJEt++TlYvKqhpand7WpfEn6sZ1XL9zJhwkVEM dT+iLdHoC4ZeknxiRNpsu7NGFQY5l8G+sSvviTZbMV6ppyu0alMwthADyKgXKJmTbXOaTy HNuYp9mPjdWigW1LuVCzBhnNiQ5O0EFG/TMZSfkh9eaRjI0fR/mwBi2l7gVn9g== Message-ID: <971cd86a-2107-4c80-951c-63101b86a03c@rothenpieler.org> Date: Sun, 17 Mar 2024 16:11:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20240314212633.2736-1-timo@rothenpieler.org> <20240314212633.2736-3-timo@rothenpieler.org> From: Timo Rothenpieler In-Reply-To: <20240314212633.2736-3-timo@rothenpieler.org> Subject: Re: [FFmpeg-devel] [PATCH 3/3] avutil/hwcontext_d3d11va: add logging to dxgi debug interfaces X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 14.03.2024 22:26, Timo Rothenpieler wrote: > --- > libavutil/hwcontext_d3d11va.c | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/libavutil/hwcontext_d3d11va.c b/libavutil/hwcontext_d3d11va.c > index 1b96c38d25..e30c8fc238 100644 > --- a/libavutil/hwcontext_d3d11va.c > +++ b/libavutil/hwcontext_d3d11va.c > @@ -685,9 +685,17 @@ static int d3d11va_device_create(AVHWDeviceContext *ctx, const char *device, > if (pf_DXGIGetDebugInterface) { > IDXGIDebug *dxgi_debug = NULL; > hr = pf_DXGIGetDebugInterface(&IID_IDXGIDebug, (void**)&dxgi_debug); > - if (SUCCEEDED(hr) && dxgi_debug) > + if (SUCCEEDED(hr) && dxgi_debug) { > IDXGIDebug_ReportLiveObjects(dxgi_debug, DXGI_DEBUG_ALL, DXGI_DEBUG_RLO_ALL); > + av_log(ctx, AV_LOG_INFO, "Enabled dxgi debugging.\n"); > + } else { > + av_log(ctx, AV_LOG_WARNING, "Failed enabling dxgi debugging.\n"); > + } > + } else { > + av_log(ctx, AV_LOG_WARNING, "Failed getting dxgi debug interface.\n"); > } > + } else { > + av_log(ctx, AV_LOG_WARNING, "Failed loading dxgi debug library.\n"); > } > } > #endif will apply series soon if nobody objects _______________________________________________ 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".