Commit fd293f7
Incoming video track renderer should rely on the track intrinsic size https://bugs.webkit.org/show_bug.cgi?id=274093
Reviewed by Xabier Rodriguez-Calvar.
Pixel and display aspect ratios shouldn't be applied for WebRTC video tracks. The intrinsic size is
re-used as it is. The avf MediaStream player behaves similarly.
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::updateVideoSizeAndOrientationFromCaps):
* Source/WebCore/platform/mediastream/gstreamer/RealtimeIncomingVideoSourceGStreamer.cpp:
(WebCore::RealtimeIncomingVideoSourceGStreamer::ensureSizeAndFramerate):
(WebCore::RealtimeIncomingVideoSourceGStreamer::dispatchSample):
Canonical link: https://commits.webkit.org/278745@main1 parent 2584afa commit fd293f7
2 files changed
Lines changed: 16 additions & 4 deletions
File tree
- Source/WebCore/platform
- graphics/gstreamer
- mediastream/gstreamer
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3595 | 3595 | | |
3596 | 3596 | | |
3597 | 3597 | | |
| 3598 | + | |
| 3599 | + | |
| 3600 | + | |
| 3601 | + | |
| 3602 | + | |
| 3603 | + | |
| 3604 | + | |
3598 | 3605 | | |
3599 | | - | |
| 3606 | + | |
| 3607 | + | |
| 3608 | + | |
| 3609 | + | |
| 3610 | + | |
| 3611 | + | |
| 3612 | + | |
3600 | 3613 | | |
3601 | 3614 | | |
3602 | 3615 | | |
| |||
3625 | 3638 | | |
3626 | 3639 | | |
3627 | 3640 | | |
3628 | | - | |
3629 | 3641 | | |
3630 | 3642 | | |
3631 | 3643 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
0 commit comments