plugins: query upstream element for a GstContext.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 1 Oct 2013 10:09:44 +0000 (12:09 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 1 Oct 2013 15:55:43 +0000 (17:55 +0200)
commitb56144e9241ae826b5eae7c3a3e7454f75259e59
treea5e5b5ceb1fea6077beb21fdf688807257a32aa3
parent6b3c08a729874d6a72b7ac777468b21d2ec4be10
plugins: query upstream element for a GstContext.

Fix gst_vaapi_video_context_prepare() to also query upstream elements
for a valid GstContext. Improve comments regarding the steps used to
lookup or build that context, thus conforming to the GstContext API
recommendations.

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst/vaapi/gstvaapivideocontext.c