GNOME Bugzilla – Bug 752728
Nonuniform prefixing of types with Gst:: namespace
Last modified: 2015-08-07 11:00:26 UTC
In contrary to C++ compiler, gmmproc doesn't look at type declarations and doesn't analyze the current namespace. Therefore despite having the code wrapped in a Gst namespace, gmmproc sees Class and Gst::Class as different types. This makes it easy for gstreamermm developer to make a mistake which causes gmmproc fail to find proper type conversions even though they seem to be defined. To avoid mistakes like this it is best to keep uniformity by explicitly using Gst:: namespace either everywhere or nowhere.
Created attachment 307913 [details] [review] Uniformly prefix types with Gst:: namespace
Thanks for your patch. Btw.I removed trailing whitespaces in your patch. This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.
BTW my patch didn't introduce any whitespaces. It just didn't remove them :-).
I missed (at least) one type: TagList inside discovererinfo.hg.
Created attachment 307975 [details] [review] Prefix TagList with Gst:: namespace
Thanks for patch. This problem has been fixed in the unstable development version. The fix will be available in the next major software release.