mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
pipewire: add enable/disable to meson for spa plugins
This commit is contained in:
parent
805240258b
commit
8d71d2dab8
11 changed files with 134 additions and 21 deletions
|
|
@ -615,8 +615,6 @@ impl_node_port_set_param(struct spa_node *node,
|
|||
uint32_t id, uint32_t flags,
|
||||
const struct spa_pod *param)
|
||||
{
|
||||
struct impl *this;
|
||||
|
||||
spa_return_val_if_fail(node != NULL, -EINVAL);
|
||||
|
||||
this = SPA_CONTAINER_OF(node, struct impl, node);
|
||||
|
|
|
|||
|
|
@ -84,7 +84,9 @@ int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t
|
|||
static struct spa_handle_factory f;
|
||||
static char name[128];
|
||||
|
||||
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58, 9, 100)
|
||||
av_register_all();
|
||||
#endif
|
||||
|
||||
if (*index == 0) {
|
||||
c = av_codec_next(NULL);
|
||||
|
|
|
|||
|
|
@ -1,15 +1,33 @@
|
|||
subdir('alsa')
|
||||
subdir('audioconvert')
|
||||
subdir('audiomixer')
|
||||
subdir('audiotestsrc')
|
||||
if sbc_dep.found()
|
||||
if get_option('alsa')
|
||||
subdir('alsa')
|
||||
endif
|
||||
if get_option('audioconvert')
|
||||
subdir('audioconvert')
|
||||
endif
|
||||
if get_option('audiomixer')
|
||||
subdir('audiomixer')
|
||||
endif
|
||||
if get_option('audiotestsrc')
|
||||
subdir('audiotestsrc')
|
||||
endif
|
||||
if get_option('bluez5') and sbc_dep.found()
|
||||
subdir('bluez5')
|
||||
endif
|
||||
if avcodec_dep.found()
|
||||
if get_option('ffmpeg') and avcodec_dep.found()
|
||||
subdir('ffmpeg')
|
||||
endif
|
||||
subdir('support')
|
||||
subdir('test')
|
||||
subdir('videotestsrc')
|
||||
subdir('volume')
|
||||
subdir('v4l2')
|
||||
if get_option('support')
|
||||
subdir('support')
|
||||
endif
|
||||
if get_option('test')
|
||||
subdir('test')
|
||||
endif
|
||||
if get_option('videotestsrc')
|
||||
subdir('videotestsrc')
|
||||
endif
|
||||
if get_option('volume')
|
||||
subdir('volume')
|
||||
endif
|
||||
if get_option('v4l2')
|
||||
subdir('v4l2')
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue