Changeset 268859 in webkit
- Timestamp:
- Oct 22, 2020, 3:00:32 AM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/gstreamer/ImageDecoderGStreamer.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r268856 r268859 1 2020-10-22 Philippe Normand <pnormand@igalia.com> 2 3 [GStreamer] Restrict ImageDecoder to WebProcess 4 https://bugs.webkit.org/show_bug.cgi?id=218023 5 6 Reviewed by Carlos Garcia Campos. 7 8 Ideally this decoder should operate only from the WebProcess (or from the GPUProcess) which 9 should be the only process where GStreamer has been runtime initialized. This is a step 10 towards a GStreamer-free GTK/WPE UIProcess. 11 12 * platform/graphics/gstreamer/ImageDecoderGStreamer.cpp: 13 (WebCore::ImageDecoderGStreamer::supportsContainerType): 14 (WebCore::ImageDecoderGStreamer::canDecodeType): 15 1 16 2020-10-22 Martin Robinson <mrobinson@igalia.com> 2 17 -
trunk/Source/WebCore/platform/graphics/gstreamer/ImageDecoderGStreamer.cpp
r268576 r268859 99 99 bool ImageDecoderGStreamer::supportsContainerType(const String& type) 100 100 { 101 // Ideally this decoder should operate only from the WebProcess (or from the GPUProcess) which 102 // should be the only process where GStreamer has been runtime initialized. 103 if (!gst_is_initialized()) 104 return false; 105 101 106 return GStreamerRegistryScanner::singleton().isContainerTypeSupported(GStreamerRegistryScanner::Configuration::Decoding, type); 102 107 } … … 104 109 bool ImageDecoderGStreamer::canDecodeType(const String& mimeType) 105 110 { 111 // Ideally this decoder should operate only from the WebProcess (or from the GPUProcess) which 112 // should be the only process where GStreamer has been runtime initialized. 113 if (!gst_is_initialized()) 114 return false; 115 106 116 if (mimeType.isEmpty()) 107 117 return false;
Note:
See TracChangeset
for help on using the changeset viewer.