[Bug 766704] vaapi: sharing display handle between app and vaapi elements

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 21 09:28:16 UTC 2016


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

--- Comment #8 from Hyunjun Ko <zzoon at igalia.com> ---
Created attachment 331861
  --> https://bugzilla.gnome.org/attachment.cgi?id=331861&action=edit
WIP: vaapidisplay: make vaapidisplay api public

I propose a patch to make vaapidisplay public.(based on patches in bug 768266)
Note that this is WIP and want to hear opinions
There are some issues, which need to be discussed.

1. library's name
 Currently, libgstvaapi.so for vaapi plugins. libgstvaapi.a for internal
libraries.
 We should make shared library to be public, which means we should name it.
 In this patch, I use same name as vaapi plugins, but this should be changed.
 I suggest that
 vaapi plugins : libgstvaapielements.so
 vaapi shared library : libgstvaapi.so.(ver)
 vaapi internal library : libgstvaapi.a, same as now

 2. Move to some apis in gstvaapivideocontext
 I move 2 apis to vaapidisplay
 - gst_vaapi_video_context_set_display
 - gst_vaapi_video_context_get_display

 3. Exposed headers
- gstvaapidisplay.h, gstvaapidisplay_x11.h gstvaapidisplay_wayland.h

4.Since bulid issue, I remove including libgstvaapi_priv_check.h, is this OK?

5. Need to work more about
- make gir, typelib, pkgconfig, doc.

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