Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-build gst-build
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gst-buildgst-build
  • Issues
  • #89
Closed
Open
Created Apr 07, 2020 by Sid Sethupathi@sid.sethupathi

Getting meson to error out if plugin not built

In the README, it says:

The plugin will be automatically enabled if possible, but you can ensure that it is built by passing -Dgst-plugins-good:qt5=enabled to meson. This will cause Meson to error out if the plugin could not be enabled. This also works for all plugins in all GStreamer repositories.

I was trying to ensure the srtp plugin from gst-plugins-bad so I used the following meson command:

meson -Dgst-plugins-bad:srtp=enabled build/

However, even though I was missing the libsrtp2 dependency, meson finished successfully and just recorded in the log at the end that gst-plugins-bad was not built.

In order to get meson to error out, I had to use the following command:

meson -Dbad=enabled -Dgst-plugins-bad:srtp=enabled build/

I'm pretty new to meson and gst-build, but is this expected? If so, should the README be updated for how to ensure a plugin is built?

Assignee
Assign to
Time tracking