[Bug 758981] New: waylandsink: need to set wl_proxy_set_queue() to get wl_signal about wl_buffer destory from wayland-server which is not based on SHM

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Dec 2 18:26:40 PST 2015


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

            Bug ID: 758981
           Summary: waylandsink: need to set wl_proxy_set_queue() to get
                    wl_signal about wl_buffer destory from wayland-server
                    which is not based on SHM
    Classification: Platform
           Product: GStreamer
           Version: 1.6.1
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: hyunil46.park at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

We don't need to set wl_proxy_set_queue() for wl_buffer_add_listener() if we
use wl_registry from wl_display base on SHM(Shared memory) as below.

  self->registry = wl_display_get_registry (self->display);
  wl_proxy_set_queue ((struct wl_proxy *) self->registry, self->queue);
  wl_registry_add_listener (self->registry, &registry_listener, self);

but, if we use other wayland libray such as wayland-tbm(DRM) for TIZEN,
We need to set set wl_proxy_set_queue() for wl_buffer as below.
  wl_buffer_add_listener (self->wlbuffer, &buffer_listener, self);
  wl_proxy_set_queue ((struct wl_proxy *) self->wlbuffer,
self->display->queue);

I think that above code can satisfied all wayland library

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