Commit 42177be
committed
[GStreamer] Critical warning when updating video sink stats of a player 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@main1 parent 531344b commit 42177be
1 file changed
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4221 | 4221 | | |
4222 | 4222 | | |
4223 | 4223 | | |
| 4224 | + | |
| 4225 | + | |
| 4226 | + | |
4224 | 4227 | | |
4225 | 4228 | | |
4226 | 4229 | | |
| |||
0 commit comments