[Bug 780442] gtreamer-vaapi render multi video in single pipeline causing videos not killed with vaapisink in wayland

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 19 02:14:10 UTC 2017


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

Hyunjun Ko <zzoon at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #349965|0                           |1
        is obsolete|                            |

--- Comment #18 from Hyunjun Ko <zzoon at igalia.com> ---
Created attachment 350036
  --> https://bugzilla.gnome.org/attachment.cgi?id=350036&action=edit
libs: window: wayland: refactor event-handling

Seperates handling-event loop to new thread, which includes:
 - Using mutex to protect each frame information.
 - Dropping frame if there's pending frame.
 - Fixing counter of pending frames.

Problem description:
There is racy condition in case that same wl_display/fd is being used in
different threads.
In this case, if a thread swallows other's events, another thread could be
stuck on poll forever. The problem usually happens during destruction of
GstVaapiWindow in case that multiple piplelines running on a process.
At this time, it calls gst_vaapi_window_wayland_sync sequentially when
destruction
from one vaapisink to another vaapisink, which leads that the first
gst_vaapi_window_wayland_sync is likely to swallow other's events.
If it happens, another vaapisink got stuck and can't be finished.

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

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