[Bug 765368] plugins: rework set_context() vmethod definition

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 21 13:23:28 UTC 2016


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

Víctor Manuel Jáquez Leal <vjaquez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #326479|0                           |1
        is obsolete|                            |

--- Comment #3 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Created attachment 326488
  --> https://bugzilla.gnome.org/attachment.cgi?id=326488&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