Changeset 293319 in webkit
- Timestamp:
- Apr 25, 2022, 2:20:22 AM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/gstreamer/GStreamerCommon.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r293311 r293319 1 2022-04-24 Philippe Normand <philn@igalia.com> 2 3 [GStreamer] Disable new demuxers based on adaptivedemux2 4 https://bugs.webkit.org/show_bug.cgi?id=239701 5 6 Reviewed by Xabier Rodriguez-Calvar. 7 8 The new demuxers based on adaptivedemux2 cannot be used in WebKit yet because this new base 9 class does not abstract away network access. They can't work in a sandboxed media process, 10 so demote their rank in order to prevent decodebin3 from auto-plugging them. 11 12 * platform/graphics/gstreamer/GStreamerCommon.cpp: 13 (WebCore::registerWebKitGStreamerElements): 14 1 15 2022-04-24 Youenn Fablet <youenn@apple.com> 2 16 -
trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp
r292696 r293319 373 373 } 374 374 } 375 376 // The new demuxers based on adaptivedemux2 cannot be used in WebKit yet because this new 377 // base class does not abstract away network access. They can't work in a sandboxed 378 // media process, so demote their rank in order to prevent decodebin3 from auto-plugging them. 379 if (webkitGstCheckVersion(1, 21, 0)) { 380 const char* const elementNames[] = { "dashdemux2", "hlsdemux2", "mssdemux2" }; 381 for (unsigned i = 0; i < G_N_ELEMENTS(elementNames); i++) { 382 if (auto factory = adoptGRef(gst_element_factory_find(elementNames[i]))) 383 gst_plugin_feature_set_rank(GST_PLUGIN_FEATURE_CAST(factory.get()), GST_RANK_NONE); 384 } 385 } 375 386 }); 376 387 }
Note:
See TracChangeset
for help on using the changeset viewer.