[webkit-changes] [WebKit/WebKit] 07f6e1: [GStreamer] Video element keeps changing the aspec...
Philippe Normand
noreply at github.com
Thu Dec 15 05:19:39 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 07f6e1de7e305114b2f4aaeef0fc25459ad9b4d8
https://github.com/WebKit/WebKit/commit/07f6e1de7e305114b2f4aaeef0fc25459ad9b4d8
Author: Philippe Normand <philn at igalia.com>
Date: 2022-12-15 (Thu, 15 Dec 2022)
Changed paths:
M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h
Log Message:
-----------
[GStreamer] Video element keeps changing the aspect ratio randomly (when the orientation information is in video's metadata)
https://bugs.webkit.org/show_bug.cgi?id=246824
<rdar://problem/101646324>
Reviewed by Xabier Rodriguez-Calvar.
Emit sizeChanged notifications towards the parent player only if the video orientation actually
changed, otherwise the continuous size re-transposition affects the visual rendering of the video
element.
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::updateVideoOrientation):
(WebCore::MediaPlayerPrivateGStreamer::setVideoSourceOrientation):
Canonical link: https://commits.webkit.org/257912@main
More information about the webkit-changes
mailing list