Changeset 228679 in webkit


Ignore:
Timestamp:
Feb 19, 2018 7:16:12 AM (6 years ago)
Author:
Carlos Garcia Campos
Message:

Merge r228315 - [GStreamer] Layout test fast/replaced/border-radius-clip.html crashes with GStreamer-CRITICAL : gst_segment_to_stream_time: assertion 'segment->format == format' failed in gst_segment_to_stream_time()
https://bugs.webkit.org/show_bug.cgi?id=176802

Source/WebCore:

Reviewed by Xabier Rodriguez Calvar.

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:

(WebCore::MediaPlayerPrivateGStreamer::load): Prevent the player from loading animated gifs.

Tools:

Reviewed by Xabier Rodriguez-Calvar.

  • gstreamer/jhbuild.modules:
  • gstreamer/patches/gst-plugins-good-0001-gstgdkpixbufdec-stop-pretending-to-decode-gifs.patch: Added.
Location:
releases/WebKitGTK/webkit-2.20
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.20/Source/WebCore/ChangeLog

    r228678 r228679  
     12018-02-09  Philippe Normand  <pnormand@igalia.com>
     2
     3        [GStreamer] Layout test fast/replaced/border-radius-clip.html crashes with GStreamer-CRITICAL **: gst_segment_to_stream_time: assertion 'segment->format == format' failed in gst_segment_to_stream_time()
     4        https://bugs.webkit.org/show_bug.cgi?id=176802
     5
     6        Reviewed by Xabier Rodriguez Calvar.
     7
     8        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
     9        (WebCore::MediaPlayerPrivateGStreamer::load): Prevent the player from loading animated gifs.
     10
    1112018-02-13  Antti Koivisto  <antti@apple.com>
    212
  • releases/WebKitGTK/webkit-2.20/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp

    r228667 r228679  
    234234void MediaPlayerPrivateGStreamer::load(const String& urlString)
    235235{
     236    // FIXME: This method is still called even if supportsType() returned
     237    // IsNotSupported. This would deserve more investigation but meanwhile make
     238    // sure we don't ever try to play animated gif assets.
     239    if (m_player->contentMIMEType() == "image/gif") {
     240        loadingFailed(MediaPlayer::FormatError);
     241        return;
     242    }
     243
    236244    if (!MediaPlayerPrivateGStreamerBase::initializeGStreamerAndRegisterWebKitElements())
    237245        return;
  • releases/WebKitGTK/webkit-2.20/Tools/ChangeLog

    r228675 r228679  
     12018-02-09  Philippe Normand  <pnormand@igalia.com>
     2
     3        [GStreamer] Layout test fast/replaced/border-radius-clip.html crashes with GStreamer-CRITICAL **: gst_segment_to_stream_time: assertion 'segment->format == format' failed in gst_segment_to_stream_time()
     4        https://bugs.webkit.org/show_bug.cgi?id=176802
     5
     6        Reviewed by Xabier Rodriguez-Calvar.
     7
     8        * gstreamer/jhbuild.modules:
     9        * gstreamer/patches/gst-plugins-good-0001-gstgdkpixbufdec-stop-pretending-to-decode-gifs.patch: Added.
     10
    1112018-02-08  Michael Catanzaro  <mcatanzaro@igalia.com>
    212
  • releases/WebKitGTK/webkit-2.20/Tools/gstreamer/jhbuild.modules

    r227901 r228679  
    7878            repo="gstreamer"
    7979            hash="sha256:649f49bec60892d47ee6731b92266974c723554da1c6649f21296097715eb957">
     80      <patch file="gst-plugins-good-0001-gstgdkpixbufdec-stop-pretending-to-decode-gifs.patch" strip="1"/>
    8081      <patch file="gst-plugins-good-0005-souphttpsrc-cookie-jar-and-context-query-support.patch" strip="1"/>
    8182      <patch file="gst-plugins-good-0006-qtdemux-add-context-for-a-preferred-protection.patch" strip="1"/>
Note: See TracChangeset for help on using the changeset viewer.