Actually enable DirectShow :meef:

This commit is contained in:
wuggy 2026-09-08 11:25:45 -07:00
commit 6fd97529b5
2 changed files with 14 additions and 4 deletions

View file

@ -5,6 +5,16 @@
include('build/moz.configure/init.configure')
# DirectShow is the legacy Windows media backend. Keep this independent of
# the old configure scripts so the backend is actually compiled on Windows.
@depends(target)
def directshow_enabled(target):
if target.kernel == 'WINNT':
return True
set_config('MOZ_DIRECTSHOW', directshow_enabled)
set_define('MOZ_DIRECTSHOW', directshow_enabled)
# Note:
# - Gecko-specific options and rules should go in toolkit/moz.configure.
# - Firefox-specific options and rules should go in browser/moz.configure.