[Bug 780442] vaapi: wayland: multiple sinks blocks the pipeline

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 24 11:35:51 UTC 2017


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

Víctor Manuel Jáquez Leal <vjaquez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Depends on|                            |773689, 774029
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.11.91

--- Comment #26 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
commit 824974e657445401d9d7b56c556c0a1a9f4c22c7
Author: Hyunjun Ko <zzoon at igalia.com>
Date:   Fri Apr 21 15:30:09 2017 +0200

    libs: window: wayland: mark frames as done

    When the frame listener callbacks 'done', the number of pending
    frames are decreased. Nonetheless, there might be occasions where
    the buffer listener callbacks 'release', without calling previously
    frame's 'done'. This leads to problem with
    gst_vaapi_window_wayland_sync() operation.

    This patch marks as done those frames which were callbacked, but if
    the buffer callbacks 'release' and associated frame is not marked
    as 'done' it is so, thus the number of pending frames keeps correct.

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

    Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez at igalia.com>


commit 3b314ba93e61bad3d8decbe45bcb12717b595a55
Author: Víctor Manuel Jáquez Leal <vjaquez at igalia.com>
Date:   Fri Apr 21 14:07:44 2017 +0200

    libs: window: wayland: don't sync at destroy()

    Don't call gst_vaapi_window_wayland_sync() when destroying the
    wayland window instance, since it might lead to a lock at
    gst_poll_wait() when more than one instances of vaapisink are
    rendering in the same pipeline, this is because they share the
    same window.

    Since now all the frames are freed we don't need to freed the
    private last_frame, since its address is invalid now.

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

    Signed-off-by: Hyunjun Ko <zzoon at igalia.com>


commit 9c3a4edf05ea325934c688622c8b1a1597620d0e
Author: Víctor Manuel Jáquez Leal <vjaquez at igalia.com>
Date:   Thu Apr 20 20:30:52 2017 +0200

    libs: window: wayland: cancel read at poll message

    Always call wl_display_cancel_read() when an errno is set, but
    different to EAGAIN or EINTR.

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

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