Changeset 86232 in webkit


Ignore:
Timestamp:
May 11, 2011 8:08:40 AM (13 years ago)
Author:
Philippe Normand
Message:

2011-05-04 Philippe Normand <pnormand@igalia.com>

Reviewed by Martin Robinson.

[Gtk+] deadlock in gstreamer video player when exiting fullscreen
https://bugs.webkit.org/show_bug.cgi?id=58548

Block data flow towards the pipeline branch to remove to avoid
potential deadlocks during the PAUSED->READY transitions of the
elements to remove.

  • platform/graphics/gstreamer/GStreamerGWorld.cpp: (WebCore::GStreamerGWorld::exitFullscreen):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r86224 r86232  
     12011-05-04  Philippe Normand  <pnormand@igalia.com>
     2
     3        Reviewed by Martin Robinson.
     4
     5        [Gtk+] deadlock in gstreamer video player when exiting fullscreen
     6        https://bugs.webkit.org/show_bug.cgi?id=58548
     7
     8        Block data flow towards the pipeline branch to remove to avoid
     9        potential deadlocks during the PAUSED->READY transitions of the
     10        elements to remove.
     11
     12        * platform/graphics/gstreamer/GStreamerGWorld.cpp:
     13        (WebCore::GStreamerGWorld::exitFullscreen):
     14
    1152011-05-11  Kent Tamura  <tkent@chromium.org>
    216
  • trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerGWorld.cpp

    r75590 r86232  
    179179    GstPad* sinkPad = gst_element_get_static_pad(queue, "sink");
    180180
     181    // Block data flow towards the pipeline branch to remove.
     182    gst_pad_set_blocked(srcPad, true);
     183
    181184    // Unlink and release request pad.
    182185    gst_pad_unlink(srcPad, sinkPad);
Note: See TracChangeset for help on using the changeset viewer.