[Bug 765368] plugins: rework set_context() vmethod definition
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Apr 21 11:22:43 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=765368
--- Comment #1 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Created attachment 326478
--> https://bugzilla.gnome.org/attachment.cgi?id=326478&action=edit
plugins: rework set_context() vmethod definition
In bug 757598 was added the set_context() vmethod chain up in
GstVaapiPluginBase. But it is buggy, since the parent_class address is
assigned to the last element which called gst_vaapi_plugin_base_class_init().
No error has shown up since none of the element's base classes redefined
set_context() vmethod from GstElement, so always the correct function was
called. Still this code is wrong and this patch make it right.
Since set_context() is the same code, a macro is used to implement that code
in all the gst-vaapi elements.
--
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