diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2023-03-10 14:54:30 +0530 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2023-03-12 00:40:42 +0000 |
commit | 5bd1086f93198fec6be4dea5cc84756d6a9182c1 (patch) | |
tree | 114ffe2eb140163af23651e1cd7a8e6c174119e1 /recipes | |
parent | 034dff7feddf05184ed1a65d45ba35d1edea3a23 (diff) |
gst-plugins-rs: Disable threadshare plugin when static
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/326
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1141>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/gst-plugins-rs.recipe | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/recipes/gst-plugins-rs.recipe b/recipes/gst-plugins-rs.recipe index 238739a9..722642cb 100644 --- a/recipes/gst-plugins-rs.recipe +++ b/recipes/gst-plugins-rs.recipe @@ -90,16 +90,18 @@ class Recipe(recipe.Recipe): self.deps.append('openssl') plugin_files = { - 'core': ('fallbackswitch', 'livesync', 'threadshare', - 'togglerecord', 'rstracers'), - 'net': ('aws', 'hlssink3', 'ndi', 'rsonvif', 'raptorq', 'rsrtp', - 'reqwest', 'webrtchttp', 'rswebrtc'), - 'effects': ('rsaudiofx', 'rsvideofx'), - 'codecs': ('cdg', 'claxon', 'dav1d', 'rsclosedcaption', 'ffv1', + 'core': ['fallbackswitch', 'livesync', 'togglerecord', 'rstracers'], + 'net': ['aws', 'hlssink3', 'ndi', 'rsonvif', 'raptorq', 'rsrtp', + 'reqwest', 'webrtchttp', 'rswebrtc'], + 'effects': ['rsaudiofx', 'rsvideofx'], + 'codecs': ['cdg', 'claxon', 'dav1d', 'rsclosedcaption', 'ffv1', 'fmp4', 'mp4', 'gif', 'hsv', 'lewton', 'rav1e', 'json', - 'rspng', 'regex', 'textwrap', 'textahead'), - 'playback': ('uriplaylistbin',), + 'rspng', 'regex', 'textwrap', 'textahead'], + 'playback': ['uriplaylistbin'], } + # https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/326 + if self.library_type != LibraryType.STATIC: + plugin_files['core'].append('threadshare') for category, names in plugin_files.items(): for name in names: self.enable_plugin(name, category) |