Bug 270021

Summary: multimedia/ffnvcodec-headers: update to 11.1.5.2
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: iwtcex
Priority: --- Flags: iwtcex: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/FFmpeg/nv-codec-headers/compare/n11.1.5.0...n11.1.5.2
Bug Depends on:    
Bug Blocks: 261302    
Attachments:
Description Flags
v1 (apply via "git am") none

Description Jan Beich freebsd_committer freebsd_triage 2023-03-07 23:57:04 UTC
Created attachment 240655 [details]
v1 (apply via "git am")

Required by https://github.com/ffmpeg/ffmpeg/commit/5c288a44ad16 (via bug 261302)

$ make clean all WITH=NVENC -C multimedia/ffmpeg
[...]
ERROR: nvenc requested, but not all dependencies are satisfied: ffnvcodec
[...]
/tmp/ffconf.95IJoSWA/test.c:2:18: error: unknown type name 'NV_ENC_PIC_PARAMS_AV1'; did you mean 'NV_ENC_PIC_PARAMS_MVC'?
int main(void) { NV_ENC_PIC_PARAMS_AV1 v; return 0; }
                 ^~~~~~~~~~~~~~~~~~~~~
                 NV_ENC_PIC_PARAMS_MVC
/usr/local/include/ffnvcodec/nvEncodeAPI.h:1780:2: note: 'NV_ENC_PIC_PARAMS_MVC' declared here
}NV_ENC_PIC_PARAMS_MVC;
 ^
1 error generated.
Comment 1 Alex S 2023-03-08 00:42:16 UTC
Looks fine to me.
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-03-08 02:20:24 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1b3b655d14eb29b589115972980ef73e33401642

commit 1b3b655d14eb29b589115972980ef73e33401642
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-11-01 12:09:36 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-03-08 02:18:31 +0000

    multimedia/ffnvcodec-headers: update to 11.1.5.2

    Changes:        https://github.com/FFmpeg/nv-codec-headers/compare/n11.1.5.0...n11.1.5.2
    PR:             270021
    Approved by:    Alex S (maintainer)

 multimedia/ffnvcodec-headers/Makefile | 2 +-
 multimedia/ffnvcodec-headers/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)