Skip to content

WPE 2.38 - Video not smooth during initial few seconds for progressive video playback #1309

@pradeep-raveendranpillai-infosys

Description

On video accelerator devices using wpe 2.38, when progressive video content (e.g. CNN ) is played, it is seen that the video is not smooth (frequent freezes are seen) for the initial few seconds after which video plays smoothly. This issue is not seen with WPE 2.22 version though.

The below workaround is currently undertaken to fix the issue. But it has side effect like video plays in slow speed when the network bandwidth is limited.

--- a/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
+++ b/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
@@ -2132,7 +2132,7 @@ void MediaPlayerPrivateGStreamer::updateBufferingStatus(GstBufferingMode mode, d
m_fillTimer.stop();

+// Force buffering flag to be always false so we don't enter buffering state at all
+m_isBuffering = false;
m_bufferingPercentage = percentage;
switch (mode) {

Sample video is attached.
https://github.com/WebPlatformForEmbedded/WPEWebKit/assets/156415435/373b930e-a06a-44d1-a04b-d83cf52c8360

Metadata

Metadata

Assignees

Labels

upstreamRelated to an upstream bug (or should be at some point)wpe-2.38

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions