We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9a63c1 commit a879796Copy full SHA for a879796
1 file changed
scripts/build-ffmpeg.py
@@ -280,11 +280,12 @@ def main():
280
281
machine = platform.machine().lower()
282
is_arm = machine in {"arm64", "aarch64"}
283
+ is_riscv = machine in {"riscv64"}
284
285
use_alsa = plat == "Linux"
286
# CUDA, AMF, and Intel VPL are not available on ARM64 Windows
- use_cuda = plat in {"Linux", "Windows"} and not is_arm
287
- use_amf = plat in {"Linux", "Windows"} and not is_arm
+ use_cuda = plat in {"Linux", "Windows"} and not is_arm and not is_riscv
288
+ use_amf = plat in {"Linux", "Windows"} and not is_arm and not is_riscv
289
290
# Use Intel VPL (Video Processing Library) if supported to enable Intel QSV (Quick Sync Video)
291
# hardware encoders/decoders on modern integrated and discrete Intel GPUs.
0 commit comments