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:
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.