[host1x] FreeBSD: Fix random crashes due to CUDA/VAAPI check sideeffects #64
No reviewers
Labels
No labels
android
audio
bug
ci
cmake
confirmed
core
desktop
duplicate
enhancement
frontend
fw
git
graphics
loader
nv gpu
ui
vulkan
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
eden-emu/eden!64
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch ":master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
FreeBSD doesn't support NVDEC, CUDA, and partially supports VAAPI (mostly for firefox).
Implementing VAAPI for other use cases would be a little bit complicated so, I chose to switch it off for FreeBSD.
This PR ensures that FFmpeg will always default to software decoding on FreeBSD, but should remain the same functionalities for other OS's.
The results are slight CPU increases while decoding in software mode, but still neglectable and they don't really harm performance.
[desktop] FreeBSD: Fix random crashes due to CUDA/VAAPI check sideeffectsto [host1x] FreeBSD: Fix random crashes due to CUDA/VAAPI check sideeffectsThis removes the duplicate AV_HWDEVICE_TYPE_VDPAU and keep the code cleaner and compatible with both systems.