Skip to content

[GStreamer] Critical warning when updating video sink stats of a player in error state #1388

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

cadubentzen
Copy link

This is a backport from https://commits.webkit.org/264718@main upstream, authored by Philippe Normand.

Reviewed by Xabier Rodriguez-Calvar.

Don't attempt to gather video rendering metrics if the player hasn't created a video sink.

  • Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::MediaPlayerPrivateGStreamer::updateVideoSinkStatistics):

Canonical link: https://commits.webkit.org/264718@main

…er in error state

This is a backport from https://commits.webkit.org/264718@main upstream.

Reviewed by Xabier Rodriguez-Calvar.

Don't attempt to gather video rendering metrics if the player hasn't created a video sink.

* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::updateVideoSinkStatistics):

Canonical link: https://commits.webkit.org/264718@main
@eocanha
Copy link
Member

eocanha commented Aug 20, 2024

IMHO, this kind of trivial backports that don't cause much cherry-pick trouble (don't generate merge conflicts and potential problems) don't even need review. It's fine that you "document" them as a Pull Request, but I think you can even approve and merge it yourself.

Copy link
Member

@calvaris calvaris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As Enrique said, when backporting trivial patches, we don't use reviews.

@cadubentzen cadubentzen merged commit 42177be into wpe-2.38 Aug 21, 2024
@cadubentzen cadubentzen deleted the wpe-2.38-updateVideoSinkStatistics branch August 21, 2024 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants