Writing plugin according doc results in compile error
I worked with gstreamer on Raspbian in November 2017:
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:
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:
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.