Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r228315 - [GStreamer] Layout test fast/replaced/border-radius-c…
…lip.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.
- Loading branch information
1 parent
a59a975
commit 0e285df
Showing
5 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...reamer/patches/gst-plugins-good-0001-gstgdkpixbufdec-stop-pretending-to-decode-gifs.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
From c7a172517deb7ca8920b6c910998cfecd8b1893d Mon Sep 17 00:00:00 2001 | ||
From: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com> | ||
Date: Tue, 13 Jun 2017 18:51:32 +0200 | ||
Subject: [PATCH] gstgdkpixbufdec: stop pretending to decode gifs. | ||
|
||
If you can't decode an animated gif, you can't decode a gif, | ||
so stop squatting GST_RANK_SECONDARY for that format, libav | ||
does a better job. | ||
|
||
https://bugzilla.gnome.org/show_bug.cgi?id=784683 | ||
--- | ||
ext/gdk_pixbuf/gstgdkpixbufdec.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/ext/gdk_pixbuf/gstgdkpixbufdec.c b/ext/gdk_pixbuf/gstgdkpixbufdec.c | ||
index 1598c53be..09211bf17 100644 | ||
--- a/ext/gdk_pixbuf/gstgdkpixbufdec.c | ||
+++ b/ext/gdk_pixbuf/gstgdkpixbufdec.c | ||
@@ -38,7 +38,7 @@ static GstStaticPadTemplate gst_gdk_pixbuf_dec_sink_template = | ||
GST_PAD_ALWAYS, | ||
GST_STATIC_CAPS ("image/png; " | ||
/* "image/jpeg; " disabled because we can't handle MJPEG */ | ||
- "image/gif; " | ||
+ /*"image/gif; " disabled because we can't handle animated gifs */ | ||
"image/x-icon; " | ||
"application/x-navi-animation; " | ||
"image/x-cmu-raster; " | ||
-- | ||
2.15.1 | ||
|