diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-07-05 08:46:07 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-07-05 09:12:09 +0200 |
commit | c58d74fe62ce1b82f2d5a193f4f02bb20a7c402e (patch) | |
tree | edd0e707d8ab0909621160921dcc04bf64b5869c /python/servo/gstreamer.py | |
parent | 041d95e0f4ef08dddab22e0276204240682cdf79 (diff) | |
download | servo-c58d74fe62ce1b82f2d5a193f4f02bb20a7c402e.tar.gz servo-c58d74fe62ce1b82f2d5a193f4f02bb20a7c402e.zip |
Remove UWP / Hololens support
Diffstat (limited to 'python/servo/gstreamer.py')
-rw-r--r-- | python/servo/gstreamer.py | 31 |
1 files changed, 3 insertions, 28 deletions
diff --git a/python/servo/gstreamer.py b/python/servo/gstreamer.py index 42da291e9f0..637ad3700ca 100644 --- a/python/servo/gstreamer.py +++ b/python/servo/gstreamer.py @@ -78,18 +78,12 @@ GSTREAMER_PLUGINS = [ ] -def windows_dlls(uwp): +def windows_dlls(): libs = list(GSTREAMER_DYLIBS) - NON_UWP_DYLIBS = [ - "gstnet", - "gstsctp", - ] - if uwp: - libs = filter(lambda x: x not in NON_UWP_DYLIBS, libs) return [f"{lib}-1.0-0.dll" for lib in libs] -def windows_plugins(uwp): +def windows_plugins(): # FIXME: We should support newer gstreamer versions here that replace # gstvideoconvert and gstvideoscale with gstvideoconvertscale. libs = [ @@ -98,25 +92,6 @@ def windows_plugins(uwp): "gstvideoscale", "gstwasapi" ] - NON_UWP_PLUGINS = [ - "gstnice", - # gst-plugins-base - "gstogg", - "gstopengl", - "gstopus", - "gstrtp", - "gsttheora", - "gstvorbis", - # gst-plugins-good - "gstmatroska", - "gstrtpmanager", - "gstvpx", - # gst-plugins-bad - "gstdtls", - "gstwebrtc", - ] - if uwp: - libs = filter(lambda x: x not in NON_UWP_PLUGINS, libs) return [f"{lib}.dll" for lib in libs] @@ -156,7 +131,7 @@ def write_plugin_list(target): if "apple-" in target: plugins = [os.path.basename(x) for x in macos_plugins()] elif '-windows-' in target: - plugins = windows_plugins('-uwp-' in target) + plugins = windows_plugins() print('''/* This is a generated file. Do not modify. */ pub(crate) static GSTREAMER_PLUGINS: &[&'static str] = &[ |