[Bug 768266] vaapi: Replace vappiminiobject with gst(mini)object

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Nov 3 05:46:57 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=768266

Matthew Waters (ystreet00) <ystreet00 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ystreet00 at gmail.com

--- Comment #42 from Matthew Waters (ystreet00) <ystreet00 at gmail.com> ---
(In reply to Víctor Manuel Jáquez Leal from comment #36)
> Review of attachment 337550 [details] [review]:
> 
> According to GObject conventions [1]: 
> 
> Create a macro named PREFIX_TYPE_OBJECT which always returns the GType for
> the associated object type. 
> 
> Our prefix is GstVaapi, not Gst, we have to change all the macros.

The convention in GStreamer seems to be that PREFIX is Gst as they all start
with GST_TYPE_*.

I'm about to finish changing libgstgl to the same format for the four or so
#defines that are left.

i.e for GST_TYPE_*
find /usr/include/gstreamer-1.0/ -type f -name '*.h' -exec grep
'#define\s+GST_TYPE_.*' \{\} \;

for GST_*_TYPE_*
find /usr/include/gstreamer-1.0/ -type f -name '*.h' -exec grep
'#define\s+GST_[a-zA-Z]*_TYPE_.*' \{\} \;
Only false-positives and the few libgstgl ones.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list