ShiftMediaProject / FFmpeg

Unofficial FFmpeg with added custom native Visual Studio project build tools. FFmpeg: A complete, cross-platform solution to record, convert and stream audio and video.
http://ffmpeg.org
Other
775 stars 297 forks source link

nvdec and libmfx now seem to depend on winrt and uwp #93

Closed richy759 closed 2 years ago

richy759 commented 2 years ago

I've updated to the latest FFVS and FFmpeg and nvdec now seems to be disabled in my config.h file due to the following. `#if !HAVE_WINRT && !HAVE_UWP define CONFIG_NVDEC 1

else

define CONFIG_NVDEC 0

endif`

Am I missing a new generator option? Is this a regression? Or am I missing something else. Thanks, Richard

Sibras commented 2 years ago

Thats is the correct configuration as nvdec does not support winrt/uwp so is disabled when either of those are set. However when opening a non-winrt project file both HAVE_WINRT and HAVE_UWP should be 0 and thus nvdec should then be enabled.

Check your values of HAVE_WINRT and HAVE_UWP and make sure your checking withing the correct project file (i.e. no _winrt projects)

richy759 commented 2 years ago

Really sorry I raised this, having gone back to 1.9.6 to get it "working" I just went back to 1.11.0 and it's worked now. I must have messed something up previously, apologies.