After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 773689 - wayland: rt for event queue when destroy
wayland: rt for event queue when destroy
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
git master
Other Linux
: Normal normal
: 1.11.91
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 748634 780442
 
 
Reported: 2016-10-30 02:41 UTC by Jagyum Koo
Modified: 2017-04-24 11:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
wayland: rt for event queue when destroy (1.69 KB, patch)
2016-10-30 02:41 UTC, Jagyum Koo
none Details | Review
wayland: rt for event queue when destroy (1.74 KB, patch)
2016-10-30 02:54 UTC, Jagyum Koo
committed Details | Review

Description Jagyum Koo 2016-10-30 02:41:15 UTC
Created attachment 338786 [details] [review]
wayland: rt for event queue when destroy

Hi!
I'm working with 0.7.0 version of gstreamer-vaapi, recently bumped up from 0.5.10. After upgrade, there was a problem (crash) when skipping to the next file, and I've come up with a solution, doing roundtrip before removing event_queue.
Comment 1 Jagyum Koo 2016-10-30 02:54:51 UTC
Created attachment 338787 [details] [review]
wayland: rt for event queue when destroy
Comment 2 Víctor Manuel Jáquez Leal 2016-10-30 08:08:38 UTC
(In reply to Jagyum Koo from comment #0)
> Created attachment 338786 [details] [review] [review]
> wayland: rt for event queue when destroy
> 
> Hi!
> I'm working with 0.7.0 version of gstreamer-vaapi, recently bumped up from
> 0.5.10. After upgrade, there was a problem (crash) when skipping to the next
> file, and I've come up with a solution, doing roundtrip before removing
> event_queue.

Hi,

Thanks for reporting this, but version 0.7.0 is not longer maintained. Please upgrade to latest release (1.8.3 - or current master, which is freezed for release 1.10), and please, report if your issue is already fixed or not.

Thanks
Comment 3 Víctor Manuel Jáquez Leal 2016-11-14 11:43:28 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!
Comment 4 Víctor Manuel Jáquez Leal 2017-04-24 11:35:32 UTC
commit 896a836f1dcd52c08d6ebcd5045d47036dce5854
Author: Jagyum Koo <koojagyum@gmail.com>
Date:   Sun Oct 30 10:43:49 2016 +0900

    libs: window: wayland: rt event queue at destroy()

    The proxy object of wl_buffer for the last frame remains in the
    wl_map. Even though we call wl_buffer_destroy() in
    frame_release_callback(), the proxy object remains without being
    removed, since proxy object is deleted when wayland server sees the
    delete request and sends 'delete_id' event.

    We need to call roundtrip before destroying event_queue so that the
    proxy object is removed. Otherwise, it would be mess up as receiving
    'delete_id' event from previous play, when playing in the next
    va/wayland window with the same wl_display connection.

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

    Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Comment 5 Víctor Manuel Jáquez Leal 2017-04-24 11:36:39 UTC
Review of attachment 338787 [details] [review]:

committed a bit different