Skip to content

Commit c627d1d

Browse files
asurdej-comcastphiln
authored andcommitted
[GST Thunder] Limit webkitthunderparser element to MSE only
To not impact media stream use cases mainly.
1 parent c730381 commit c627d1d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2553,7 +2553,10 @@ void MediaPlayerPrivateGStreamer::configureParsebin(GstElement* parsebin)
25532553
// If no DRM is supported, we can skip the webkitthunderparser factory
25542554
if (CDMFactoryThunder::singleton().supportedKeySystems().isEmpty())
25552555
return;
2556-
if (m_url.protocolIsBlob())
2556+
// Enable for MSE only.
2557+
// Progressive playback doesn't use parsebin element so the below makes no effect there.
2558+
// Don't use thunder parser for MediaStream also.
2559+
if (!isMediaSource())
25572560
return;
25582561

25592562
// Otherwise we need to ensure that the webkitthunderparser factory is present

0 commit comments

Comments
 (0)