[Bug 777409] pluginbase: Query for OpenGL app_context

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jan 27 19:19:24 UTC 2017


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

--- Comment #33 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Review of attachment 344411:
 --> (https://bugzilla.gnome.org/review?bug=777409&attachment=344411)

I'm going to push to master this patches now.

::: gst/vaapi/gstvaapipluginutil.c
@@ +252,3 @@
+   * GstVaapiDisplay. Let's them to choose their own
+   * GstVaapiDisplay */
+  if (GST_IS_VIDEO_SINK (element) || GST_IS_VIDEO_ENCODER (element))

It is not a downcast, it is like is_a operator to check the class of the
instance. I think this is simpler than adding another virtual method.

-- 
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