Skip to content

Commit

Permalink
Change flags for qtwebengine
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbruno committed Oct 8, 2024
1 parent 0c1d5d4 commit 0608b18
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bigbashview/usr/lib/bbv/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,12 +272,11 @@ def formatter(prog):

flags = ('--disable-logging --no-sandbox --single-process --disable-gpu-sandbox --in-process-gpu '
'--autoplay-policy=no-user-gesture-required --disable-back-forward-cache --disable-breakpad '
'--aggressive-cache-discard --disable-features=BackForwardCache,CacheCodeOnIdle,ConsumeCodeCacheOffThread')
'--aggressive-cache-discard --disable-features=BackForwardCache,CacheCodeOnIdle,ConsumeCodeCacheOffThread --disable-features=WebRtcAllowInputVolumeAdjustment')
if args.gpu:
flags += (' --enable-gpu-rasterization')
else:
flags += (' --disable-webgl --disable-accelerated-video-decode --disable-accelerated-video-encode '
'--num-raster-threads=0')
flags += (' --disable-webgl --disable-accelerated-video-decode --disable-accelerated-video-encode --num-raster-threads=0 --enable-low-end-device-mode')

# Verifica se a variável de ambiente QTWEBENGINE_CHROMIUM_FLAGS está vazia ou não definida
if not os.environ.get('QTWEBENGINE_CHROMIUM_FLAGS', ''):
Expand Down

0 comments on commit 0608b18

Please sign in to comment.