Title: [290984] trunk/Source/WebCore
Revision
290984
Author
[email protected]
Date
2022-03-08 04:21:51 -0800 (Tue, 08 Mar 2022)

Log Message

[GStreamer] Handle gst pad error as format error
https://bugs.webkit.org/show_bug.cgi?id=237526

Reviewed by Xabier Rodriguez-Calvar.

This patch is authored by Eugene Mutavchi <[email protected]>
See: https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/797

* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (290983 => 290984)


--- trunk/Source/WebCore/ChangeLog	2022-03-08 09:25:40 UTC (rev 290983)
+++ trunk/Source/WebCore/ChangeLog	2022-03-08 12:21:51 UTC (rev 290984)
@@ -1,3 +1,15 @@
+2022-03-08  Enrique Ocaña González  <[email protected]>
+
+        [GStreamer] Handle gst pad error as format error
+        https://bugs.webkit.org/show_bug.cgi?id=237526
+
+        Reviewed by Xabier Rodriguez-Calvar.
+
+        This patch is authored by Eugene Mutavchi <[email protected]>
+        See: https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/797
+
+        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+
 2022-03-08  Carlos Garcia Campos  <[email protected]>
 
         PDF.js content script is adding custom cocoa style unconditionally

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp (290983 => 290984)


--- trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp	2022-03-08 09:25:40 UTC (rev 290983)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp	2022-03-08 12:21:51 UTC (rev 290984)
@@ -1718,6 +1718,7 @@
             || g_error_matches(err.get(), GST_STREAM_ERROR, GST_STREAM_ERROR_WRONG_TYPE)
             || g_error_matches(err.get(), GST_STREAM_ERROR, GST_STREAM_ERROR_FAILED)
             || g_error_matches(err.get(), GST_CORE_ERROR, GST_CORE_ERROR_MISSING_PLUGIN)
+            || g_error_matches(err.get(), GST_CORE_ERROR, GST_CORE_ERROR_PAD)
             || g_error_matches(err.get(), GST_RESOURCE_ERROR, GST_RESOURCE_ERROR_NOT_FOUND))
             error = MediaPlayer::NetworkState::FormatError;
         else if (g_error_matches(err.get(), GST_STREAM_ERROR, GST_STREAM_ERROR_TYPE_NOT_FOUND)) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to