[vlc-commits] [Git][videolan/vlc][master] 2 commits: packetizer: meson: use 'enabled' field for modules

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sun Feb 23 17:19:58 UTC 2025



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
8ca9e392 by Alexandre Janniaux at 2025-02-23T16:44:07+00:00
packetizer: meson: use 'enabled' field for modules

- - - - -
38657c24 by Alexandre Janniaux at 2025-02-23T16:44:07+00:00
packetizer: meson: add Bsymbolic

-Bsymbolic flag is needed when compiling the module with static ffmpeg
build.

- - - - -


1 changed file:

- modules/packetizer/meson.build


Changes:

=====================================
modules/packetizer/meson.build
=====================================
@@ -94,12 +94,11 @@ vlc_modules += {
 }
 
 # FFmpeg-based packetizer
-if avcodec_dep.found()
-    vlc_modules += {
-        'name' : 'packetizer_avparser',
-        'sources' : files('avparser.c'),
-        'dependencies' : [avutil_dep, avcodec_dep],
-        'link_with' : [libavcodec_common],
-        'enabled' : not get_option('merge-ffmpeg'),
-    }
-endif
+vlc_modules += {
+    'name' : 'packetizer_avparser',
+    'sources' : files('avparser.c'),
+    'dependencies' : [avutil_dep, avcodec_dep],
+    'link_with' : [libavcodec_common],
+    'link_args' : symbolic_linkargs,
+    'enabled' : avcodec_dep.found() and not get_option('merge-ffmpeg'),
+}



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/848c2c0d9db5b9001b482cc4cba0fb9709475ca3...38657c2491edf83241bcb9b14f4b2183104e0f1e

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/848c2c0d9db5b9001b482cc4cba0fb9709475ca3...38657c2491edf83241bcb9b14f4b2183104e0f1e
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list