haikuwebkit/Source/WebCore/platform/mock
Philippe Normand 724408719e REGRESSION(r280732) [GStreamer] fast/mediastream/getDisplayMedia-max-constraints1.html and other are failing
https://bugs.webkit.org/show_bug.cgi?id=228941

Reviewed by Youenn Fablet.

Source/WebCore:

The GStreamer mock display capture source is now wrapped in another RealtimeMediaSource in
order to avoid a spurious setSize() call from the RealtimeVideoSource constructor that would
then prevent the mock source to ensure its size matches the intrinsic size.

For the non-mock display capture source, we now ensure the size matches the intrinsic size
whenever the capture settings have changed.

* platform/mediastream/RealtimeVideoCaptureSource.h:
* platform/mediastream/gstreamer/GStreamerVideoCaptureSource.cpp:
(WebCore::GStreamerVideoCaptureSource::settingsDidChange):
* platform/mediastream/gstreamer/MockRealtimeVideoSourceGStreamer.cpp:
(WebCore::MockDisplayCaptureSourceGStreamer::create):
(WebCore::MockDisplayCaptureSourceGStreamer::capabilities):
(WebCore::MockDisplayCaptureSourceGStreamer::settings):
* platform/mediastream/gstreamer/MockRealtimeVideoSourceGStreamer.h:
* platform/mock/MockRealtimeMediaSourceCenter.cpp:
* platform/mock/MockRealtimeVideoSource.cpp:
(WebCore::MockRealtimeVideoSource::generateFrame):

LayoutTests:

* platform/glib/TestExpectations: Unflag tests now passing.

Canonical link: https://commits.webkit.org/240725@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281305 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-20 10:16:50 +00:00
..
mediasource Rename MediaPlayer::setVisible to MediaPlayer::setPageIsVisible 2021-08-19 08:40:05 +00:00
DeviceOrientationClientMock.cpp
DeviceOrientationClientMock.h
GeolocationClientMock.cpp Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
GeolocationClientMock.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
MediaEngineConfigurationFactoryMock.cpp Next step toward using std::optional directly instead of through WTF::Optional typedef 2021-05-28 01:26:23 +00:00
MediaEngineConfigurationFactoryMock.h
MediaPlaybackTargetMock.cpp
MediaPlaybackTargetMock.h
MediaPlaybackTargetPickerMock.cpp Reduce use of legacy MainThreadTaskQueue in media code 2021-06-05 05:35:21 +00:00
MediaPlaybackTargetPickerMock.h Reduce use of legacy MainThreadTaskQueue in media code 2021-06-05 05:35:21 +00:00
MockAudioDestinationCocoa.cpp
MockAudioDestinationCocoa.h
MockMediaDevice.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
MockRealtimeAudioSource.cpp Next step toward using std::optional directly instead of through WTF::Optional typedef 2021-05-28 01:26:23 +00:00
MockRealtimeAudioSource.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
MockRealtimeMediaSourceCenter.cpp REGRESSION(r280732) [GStreamer] fast/mediastream/getDisplayMedia-max-constraints1.html and other are failing 2021-08-20 10:16:50 +00:00
MockRealtimeMediaSourceCenter.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
MockRealtimeVideoSource.cpp REGRESSION(r280732) [GStreamer] fast/mediastream/getDisplayMedia-max-constraints1.html and other are failing 2021-08-20 10:16:50 +00:00
MockRealtimeVideoSource.h [GStreamer][Pipewire] Implement getDisplayMedia() backend 2021-07-15 11:48:58 +00:00
PlatformSpeechSynthesizerMock.cpp
PlatformSpeechSynthesizerMock.h
RTCDataChannelHandlerMock.cpp Use Vector<uint8_t> instead of Vector<char> to store bytes in SharedBuffer 2021-06-05 01:16:43 +00:00
RTCDataChannelHandlerMock.h Use Vector<uint8_t> instead of Vector<char> to store bytes in SharedBuffer 2021-06-05 01:16:43 +00:00
RTCNotifiersMock.cpp
RTCNotifiersMock.h
ScrollAnimatorMock.cpp Remove StringBuilder::appendLiteral 2021-05-24 21:51:47 +00:00
ScrollAnimatorMock.h Remove StringBuilder::appendLiteral 2021-05-24 21:51:47 +00:00
ScrollbarThemeMock.cpp
ScrollbarThemeMock.h
TimerEventBasedMock.h