Changeset 196060 in webkit


Ignore:
Timestamp:
Feb 3, 2016 2:31:27 AM (8 years ago)
Author:
Carlos Garcia Campos
Message:

REGRESSION(r191948): [GStreamer] 4 new timeouts on layout tests.
https://bugs.webkit.org/show_bug.cgi?id=152797

Reviewed by Darin Adler.

Source/WebCore:

Always schedule messages to the main thread, even when the bus
sync handlder was called in the main thread. It seems that
GStreamer expects things to happen in the next main loop
iteration.

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:

(WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):

LayoutTests:

Update test expectations.

  • platform/gtk/TestExpectations:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r196052 r196060  
     12016-02-03  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        REGRESSION(r191948): [GStreamer] 4 new timeouts on layout tests.
     4        https://bugs.webkit.org/show_bug.cgi?id=152797
     5
     6        Reviewed by Darin Adler.
     7
     8        Update test expectations.
     9
     10        * platform/gtk/TestExpectations:
     11
    1122016-02-02  Fujii Hironori  <Hironori.Fujii@jp.sony.com>
    213
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r196027 r196060  
    14901490webkit.org/b/144690 editing/spelling/delete-into-misspelled-word.html [ Timeout Pass ]
    14911491
    1492 webkit.org/b/141835 media/video-controls-no-scripting.html [ Failure Timeout ]
    1493 webkit.org/b/152797 media/video-source-error.html [ Timeout ]
    1494 webkit.org/b/152797 media/video-source-load.html [ Timeout ]
    1495 webkit.org/b/152797 media/video-source-moved.html [ Timeout ]
     1492webkit.org/b/141835 media/video-controls-no-scripting.html [ Failure ]
    14961493
    14971494# May take too long on the bots.
  • trunk/Source/WebCore/ChangeLog

    r196058 r196060  
     12016-02-03  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        REGRESSION(r191948): [GStreamer] 4 new timeouts on layout tests.
     4        https://bugs.webkit.org/show_bug.cgi?id=152797
     5
     6        Reviewed by Darin Adler.
     7
     8        Always schedule messages to the main thread, even when the bus
     9        sync handlder was called in the main thread. It seems that
     10        GStreamer expects things to happen in the next main loop
     11        iteration.
     12
     13        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
     14        (WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):
     15
    1162016-02-03  Zan Dobersek  <zdobersek@igalia.com>
    217
  • trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp

    r195951 r196060  
    19041904
    19051905        if (!player.handleSyncMessage(message)) {
    1906             if (isMainThread())
    1907                 player.handleMessage(message);
    1908             else {
    1909                 GRefPtr<GstMessage> protectMessage(message);
    1910                 auto weakThis = player.createWeakPtr();
    1911                 RunLoop::main().dispatch([weakThis, protectMessage] {
    1912                     if (weakThis)
    1913                         weakThis->handleMessage(protectMessage.get());
    1914                 });
    1915             }
     1906            GRefPtr<GstMessage> protectedMessage(message);
     1907            auto weakThis = player.createWeakPtr();
     1908            RunLoop::main().dispatch([weakThis, protectedMessage] {
     1909                if (weakThis)
     1910                    weakThis->handleMessage(protectedMessage.get());
     1911            });
    19161912        }
    19171913        gst_message_unref(message);
Note: See TracChangeset for help on using the changeset viewer.