haikuwebkit/LayoutTests/webrtc/video-rotation-expected.txt

9 lines
351 B
Plaintext
Raw Permalink Normal View History

RealtimeOutgoingVideoSource should not rotate muted frames https://bugs.webkit.org/show_bug.cgi?id=172659 Patch by Youenn Fablet <youenn@apple.com> on 2017-05-30 Reviewed by Eric Carlson. Source/WebCore: Test: webrtc/video-rotation.html When sending black frames, it is unnecessary to rotate frames. Instead, it is better to create frame with the expected width and height. Making sure libwebrtc rotated images are not null, as only YUV rotation is supported. Adding internals API to test part of that code path. Full coverage should be added when mock source is producing YUV images. * Modules/mediastream/PeerConnectionBackend.h: (WebCore::PeerConnectionBackend::applyRotationForOutgoingVideoSources): * Modules/mediastream/RTCPeerConnection.h: * Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp: (WebCore::LibWebRTCPeerConnectionBackend::applyRotationForOutgoingVideoSources): * Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.h: * platform/mediastream/mac/RealtimeOutgoingVideoSource.cpp: (WebCore::RealtimeOutgoingVideoSource::sendBlackFrames): (WebCore::RealtimeOutgoingVideoSource::sendFrame): * platform/mediastream/mac/RealtimeOutgoingVideoSource.h: * testing/Internals.cpp: (WebCore::Internals::Internals): (WebCore::Internals::applyRotationForOutgoingVideoSources): (WebCore::Internals::setCameraMediaStreamTrackOrientation): * testing/Internals.h: * testing/Internals.idl: LayoutTests: * webrtc/routines.js: * webrtc/video-rotation-expected.txt: Added. * webrtc/video-rotation.html: Added. Canonical link: https://commits.webkit.org/189612@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-05-30 18:29:13 +00:00
PASS Setting video exchange
PASS Track is enabled, video should not be black
PASS Track is enabled and rotated, local video should not be black and should change size
PASS Track is enabled and rotated, remote video should not be black and should change size
PASS Track is enabled and rotated again, video should not be black and should change size
RealtimeOutgoingVideoSource should not rotate muted frames https://bugs.webkit.org/show_bug.cgi?id=172659 Patch by Youenn Fablet <youenn@apple.com> on 2017-05-30 Reviewed by Eric Carlson. Source/WebCore: Test: webrtc/video-rotation.html When sending black frames, it is unnecessary to rotate frames. Instead, it is better to create frame with the expected width and height. Making sure libwebrtc rotated images are not null, as only YUV rotation is supported. Adding internals API to test part of that code path. Full coverage should be added when mock source is producing YUV images. * Modules/mediastream/PeerConnectionBackend.h: (WebCore::PeerConnectionBackend::applyRotationForOutgoingVideoSources): * Modules/mediastream/RTCPeerConnection.h: * Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp: (WebCore::LibWebRTCPeerConnectionBackend::applyRotationForOutgoingVideoSources): * Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.h: * platform/mediastream/mac/RealtimeOutgoingVideoSource.cpp: (WebCore::RealtimeOutgoingVideoSource::sendBlackFrames): (WebCore::RealtimeOutgoingVideoSource::sendFrame): * platform/mediastream/mac/RealtimeOutgoingVideoSource.h: * testing/Internals.cpp: (WebCore::Internals::Internals): (WebCore::Internals::applyRotationForOutgoingVideoSources): (WebCore::Internals::setCameraMediaStreamTrackOrientation): * testing/Internals.h: * testing/Internals.idl: LayoutTests: * webrtc/routines.js: * webrtc/video-rotation-expected.txt: Added. * webrtc/video-rotation.html: Added. Canonical link: https://commits.webkit.org/189612@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-05-30 18:29:13 +00:00