Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-template gst-template
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • 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-templategst-template
  • Issues
  • #5
Closed
Open
Created Jul 30, 2019 by Hermann Stamm-Wilbrandt@HermannSW

Writing plugin according doc results in compile error

I worked with gstreamer on Raspbian in November 2017:

https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=197124#p1232038

I did not run "gst-launch-1.0 --version" at that time, so do not know what gstreamer version was on my Raspbian at that point in time. I followed the instructions:

https://gstreamer.freedesktop.org/documentation/plugin-development/basics/boiler.html

and everything compiled and worked at that time, as documented.

Yesterday I followed the instructions again, and the generated template did not compile. Gstreamer version on my Raspbian Sketch is 1.10.4 today. Compiling errors out on missing defines for GST_LICENSE, GST_PACKAGE_NAME and GST_PACKAGE_ORIGIN.

Cause of the compiler error seems to be this 11yo checkin from Sebastian:

gst-plugins-bad@e4476e15

It seems that was not effective on Raspbian gstreamer in 2017.

I did add the three defines to src/gstplugin.h and commented out the audio example. I had a hard time to learn that plugin gets blacklisted without a valid license and how to diagnose:

https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=247034&p=1509968#p1509968

So this is definitely a "does not compile bug".

Either the three defines need to be added to src/gstplugin.h and audio example.

Or boilerplate documentation needs to call to add the three defines and warn on having to use a valid license.

Assignee
Assign to
Time tracking