Skip to content

Commit

Permalink
#3174 require kernel 5.0 or later to enable vaapi
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jul 3, 2021
1 parent adea604 commit 55be7e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xpra/codecs/enc_ffmpeg/encoder.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import os
import time
import errno
import weakref
import platform
from xpra.log import Logger
log = Logger("encoder", "ffmpeg")

Expand Down Expand Up @@ -820,7 +821,7 @@ def get_version():
return (LIBAVCODEC_VERSION_MAJOR, LIBAVCODEC_VERSION_MINOR, LIBAVCODEC_VERSION_MICRO)


VAAPI = envbool("XPRA_VAAPI", LINUX and (LIBAVCODEC_VERSION_MAJOR, LIBAVCODEC_VERSION_MINOR)>=(4, 4))
VAAPI = envbool("XPRA_VAAPI", LINUX and (LIBAVCODEC_VERSION_MAJOR, LIBAVCODEC_VERSION_MINOR)>=(4, 4) and platform.release()>="5.")

CODECS = ()

Expand Down

0 comments on commit 55be7e7

Please sign in to comment.