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 401029 - [playbin] rapidly changing visualisation freezes
[playbin] rapidly changing visualisation freezes
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.11
Other Linux
: Normal normal
: 0.10.12
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-26 15:27 UTC by Ed Catmur
Modified: 2007-02-28 15:17 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
playbin-lock-unlock-pending-visual.patch (4.76 KB, patch)
2007-01-26 17:31 UTC, Ed Catmur
committed Details | Review

Description Ed Catmur 2007-01-26 15:27:25 UTC
Open an audio file in Totem; change the visualisation rapidly (e.g. scrolling on the dropdown with arrow key or mouse wheel).

The visualisation window freezes, and won't display anything until the next track starts.

Pretty sure this is a race in gst_play_bin_vis_blocked() against gst_play_bin_set_property().  Will test.
Comment 1 Ed Catmur 2007-01-26 17:31:10 UTC
Created attachment 81278 [details] [review]
playbin-lock-unlock-pending-visual.patch

Right, this patch does the job.
Comment 2 Wim Taymans 2007-02-28 15:17:30 UTC
        Patch by: Ed Catmur <ed at catmur dot co dot uk>

        * gst/playback/gstplaybin.c: (gst_play_bin_vis_unblocked),
        (gst_play_bin_vis_blocked), (gst_play_bin_set_property):
        Fix race condition when rapidly switching visualisations in playbin. 
        Fixes #401029.