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 D747347601 for ; Thu, 14 Sep 2023 16:54:13 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 39A0C680A6D; Thu, 14 Sep 2023 19:54:12 +0300 (EEST) Received: from btbn.de (btbn.de [136.243.74.85]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C71C6680A6D for ; Thu, 14 Sep 2023 19:54:05 +0300 (EEST) Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id A481040106D; Thu, 14 Sep 2023 18:54:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1694710444; 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=c2X79BZ9T+xjgP/D0tqATVl11lkFE0EUu8OcLYkcT7E=; b=P1F3cHpW6BlPPC9pLoeTbVdUxJ6HPsU18F7ikIYK8NRcPU502Fk3Z5nqXa0NHXY0gT/ZUl PvD3qGzoyDDamK+9rJmYDAIFOApSUoLduNSYQUEFqqQaUoBXmjePTBF+4jOKMfUyfgcun8 6mxxlUHsrzV90E9aQKLbl7L67kvmGezQWlM3b1w8TigRC7nUUEqWCfcc8vzW9ZZn5e4DW8 UqOaMh77Yz5LJwc/u/uI5TWPda8n8ayh37HSOJhQFbck0u2gfC6cxYQwr79ZMR3tgXWnS/ WBfVx2m51dwj/xa8RZVwTz2YcXGaDy52ie+tlsvOGYU1nMG5M0998tQ7/ATHpw== Message-ID: <4cebfaa8-933a-ebac-a061-e5e486ed9d74@rothenpieler.org> Date: Thu, 14 Sep 2023 18:54:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 To: Roman Arzumanyan , FFmpeg development discussions and patches References: <169470019868.20400.10524960200868191992@lain.khirnov.net> <7984201b-83b4-4d51-9d5b-d70e958bf399@rothenpieler.org> Content-Language: en-US From: Timo Rothenpieler In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH 2/2] libavutil/hwcontect_cuda: add option to use current CUDA context 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.09.2023 18:52, Roman Arzumanyan wrote: > Got it, thanks. > Please find the patches in attachment. > > Just for my own understanding - could you please explain how this magic > works in the configure script? I mean this section: > > if ! disabled ffnvcodec; then > > ffnv_hdr_list="ffnvcodec/nvEncodeAPI.h ffnvcodec/dynlink_cuda.h > ffnvcodec/dynlink_cuviddec.h ffnvcodec/dynlink_nvcuvid.h" > > check_pkg_config ffnvcodec "ffnvcodec >= 12.1.14.0" "$ffnv_hdr_list" "" || \ > > check_pkg_config ffnvcodec "ffnvcodec >= 12.0.16.0ffnvcodec < 12.1" > "$ffnv_hdr_list" "" || \ > > check_pkg_config ffnvcodec "ffnvcodec >= 11.1.5.2 ffnvcodec < 12.0" > "$ffnv_hdr_list" "" || \ > > check_pkg_config ffnvcodec "ffnvcodec >= 11.0.10.2 ffnvcodec < 11.1" > "$ffnv_hdr_list" "" || \ > > check_pkg_config ffnvcodec "ffnvcodec >= 8.1.24.14 ffnvcodec < 8.2" > "$ffnv_hdr_list" "" > > fi No, only versions bigger than the given minimum in the respective branch will pass. 11.0.0.0 would not pass, it's outside of any valid range. And so on for other versions. _______________________________________________ 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".