Opened 5 years ago
Closed 5 years ago
#7867 closed defect (fixed)
DecklinkAPI 11.1 - Build error with media-autobuild_suite
Reported by: | Florian | Owned by: | Marton Balint |
---|---|---|---|
Priority: | normal | Component: | avdevice |
Version: | git-master | Keywords: | decklink |
Cc: | Marton Balint | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
After the update of the DeckLink headers to 11.1 the building process errored out with the following:
Likely error: D:/AB-Suite/local64/include/DeckLinkAPI.h:5841:39: note: no known conversion for argument 4 from '_BMDVideoOutputFlags' to 'BMDSupportedVideoModeFlags' {aka '_BMDSupportedVideoModeFlags'} D:/AB-Suite/build/ffmpeg-git/libavdevice/decklink_common.cpp:287:69: error: no matching function for call to 'IDeckLinkOutput::DoesSupportVideoMode(_BMDVideoConnection, BMDDisplayMode&, BMDPixelFormat&, _BMDVideoOutputFlags, BMDDisplayMode*, BOOL*)' &actualMode, &support) != S_OK || !support || ctx->bmd_mode != actualMode) { ^ In file included from D:/AB-Suite/build/ffmpeg-git/libavdevice/decklink_common.cpp:28: D:/AB-Suite/local64/include/DeckLinkAPI.h:5841:39: note: candidate: 'virtual HRESULT IDeckLinkOutput::DoesSupportVideoMode(BMDVideoConnection, BMDDisplayMode, BMDPixelFormat, BMDSupportedVideoModeFlags, BMDDisplayMode*, BOOL*)' virtual HRESULT STDMETHODCALLTYPE DoesSupportVideoMode( ^~~~~~~~~~~~~~~~~~~~ D:/AB-Suite/local64/include/DeckLinkAPI.h:5841:39: note: no known conversion for argument 4 from '_BMDVideoOutputFlags' to 'BMDSupportedVideoModeFlags' {aka '_BMDSupportedVideoModeFlags'} make: *** [/build/ffmpeg-git/ffbuild/common.mak:63: libavdevice/decklink_common.o] Error 1
More info can be found in the logs: [logs.zip] (https://0x0.st/zbPq.zip) - I have attached the logs.zip here also.
See the discussion on GitHub here: https://github.com/jb-alvarado/media-autobuild_suite/issues/1177
Attachments (2)
Change History (5)
by , 5 years ago
by , 5 years ago
Attachment: | 0001-avdevice-decklink-fix-checking-video-mode-in-SDK-ver.patch added |
---|
comment:1 by , 5 years ago
Cc: | added |
---|---|
Owner: | set to |
Status: | new → open |
comment:3 by , 5 years ago
Component: | undetermined → avdevice |
---|---|
Resolution: | → fixed |
Status: | open → closed |
Fixed by Marton in 15b8f36be17c45f17b662090ee2039c93eff9635
Note:
See TracTickets
for help on using tickets.
Can you try the attached patch?