-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GStreamer][WebCodecs] New tests http/wpt/webcodecs/h264-encoder-defa…
…ult-config trigger critical warnings https://bugs.webkit.org/show_bug.cgi?id=265301 Reviewed by Xabier Rodriguez-Calvar. There was a confusion in kbps/bps conversion, 1 kbps is 1000 bps, not 1024 bps... We also now check the bitrate is positive and non-null before setting it on the encoder. * LayoutTests/platform/glib/TestExpectations: * Source/WebCore/platform/graphics/gstreamer/VideoEncoderGStreamer.cpp: (WebCore::GStreamerInternalVideoEncoder::initialize): * Source/WebCore/platform/gstreamer/VideoEncoderPrivateGStreamer.cpp: * Source/WebCore/platform/mediastream/gstreamer/RealtimeOutgoingVideoSourceGStreamer.cpp: (WebCore::RealtimeOutgoingVideoSourceGStreamer::updateStats): (WebCore::RealtimeOutgoingVideoSourceGStreamer::setParameters): (WebCore::RealtimeOutgoingVideoSourceGStreamer::fillEncodingParameters): Canonical link: https://commits.webkit.org/271099@main
- Loading branch information
Showing
4 changed files
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters