Changeset 226769 in webkit


Ignore:
Timestamp:
Jan 11, 2018 1:24:50 AM (6 years ago)
Author:
Philippe Normand
Message:

[GTK] media/muted-video-is-playing-audio.html is timing out
https://bugs.webkit.org/show_bug.cgi?id=163781

Reviewed by Carlos Garcia Campos.

Source/WebCore:

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:

(WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfVideo): Sprinkle some debugging.
(WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfAudio): Ditto.

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:

(WebCore::MediaPlayerPrivateGStreamerBase::setMuted): Ditto.

LayoutTests:

The test should un-mute the page because the IsPlayingAudio flag indirectly depends on this.

  • media/muted-video-is-playing-audio.html: Un-mute the page.
  • platform/gtk/TestExpectations: Unflag now-passing test.
Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r226766 r226769  
     12018-01-11  Philippe Normand  <pnormand@igalia.com>
     2
     3        [GTK] media/muted-video-is-playing-audio.html is timing out
     4        https://bugs.webkit.org/show_bug.cgi?id=163781
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        The test should un-mute the page because the IsPlayingAudio flag indirectly depends on this.
     9
     10        * media/muted-video-is-playing-audio.html: Un-mute the page.
     11        * platform/gtk/TestExpectations: Unflag now-passing test.
     12
    1132018-01-10  Andy Estes  <aestes@apple.com>
    214
  • trunk/LayoutTests/media/muted-video-is-playing-audio.html

    r207839 r226769  
    1212
    1313            jsTestIsAsync = true;
     14
     15            // Un-mute audio on the page before starting the test.
     16            if (window.internals)
     17                internals.setPageMuted("");
    1418
    1519            function testUnmutingVideo()
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r226717 r226769  
    21832183webkit.org/b/163780 media/media-controls-drag-timeline-set-controls-property.html [ Timeout ]
    21842184
    2185 webkit.org/b/163781 media/muted-video-is-playing-audio.html [ Timeout ]
    2186 
    21872185webkit.org/b/168373 http/tests/media/track-in-band-hls-metadata-crash.html [ Timeout ]
    21882186webkit.org/b/168373 media/media-fullscreen-loop-inline.html [ Timeout ]
  • trunk/Source/WebCore/ChangeLog

    r226766 r226769  
     12018-01-11  Philippe Normand  <pnormand@igalia.com>
     2
     3        [GTK] media/muted-video-is-playing-audio.html is timing out
     4        https://bugs.webkit.org/show_bug.cgi?id=163781
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
     9        (WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfVideo): Sprinkle some debugging.
     10        (WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfAudio): Ditto.
     11        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
     12        (WebCore::MediaPlayerPrivateGStreamerBase::setMuted): Ditto.
     13
    1142018-01-10  Andy Estes  <aestes@apple.com>
    215
  • trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp

    r226713 r226769  
    614614    g_object_get(element, "n-video", &numTracks, nullptr);
    615615
     616    GST_INFO("Media has %d video tracks", numTracks);
     617
    616618    bool oldHasVideo = m_hasVideo;
    617619    m_hasVideo = numTracks > 0;
     
    683685    g_object_get(element, "n-audio", &numTracks, nullptr);
    684686
     687    GST_INFO("Media has %d audio tracks", numTracks);
    685688    bool oldHasAudio = m_hasAudio;
    686689    m_hasAudio = numTracks > 0;
  • trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp

    r226358 r226769  
    615615        return;
    616616
     617    GST_INFO("Set muted to %d", muted);
    617618    g_object_set(m_volumeElement.get(), "mute", muted, nullptr);
    618619}
Note: See TracChangeset for help on using the changeset viewer.