plugin: chain up set_context() vmethod
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 2 Nov 2015 15:48:27 +0000 (16:48 +0100)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 9 Nov 2015 15:18:19 +0000 (16:18 +0100)
commit1e96fae94c28866ed6f3ed63e79d83932bf79f2d
tree23063d8ed692de9519ee9b1efa7d3bcc91d13fc9
parent4fc8769761843a9b98c97c2cbe3fb5487c1b68de
plugin: chain up set_context() vmethod

Since Gstreamer 1.7, set_context() vmethod needs to be chained up with
the parent class in order to broadcast all its contexts when the element
is added into a bin:

http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=d5ded1588920c4471eefe055d09095d9e5e989b5

There is no need to guard the call, because before GStreamer 1.7, the
set_context() vmethod was NULL in the element class, hence the conditional
call make it safe.

Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
https://bugzilla.gnome.org/show_bug.cgi?id=757598
gst/vaapi/gstvaapipluginbase.c