Commit graph

321 commits

Author SHA1 Message Date
Basilisk-Dev
7766f8f53d Enable CSS aspect-ratio sizing 2026-06-26 12:32:41 -07:00
Basilisk-Dev
f9e154a02e Enable AV1 playback by default 2026-06-25 22:46:45 -07:00
Basilisk-Dev
d60dac8ecd Use in-tree dav1d for AV1 decoding 2026-06-25 22:44:38 -07:00
ownedbywuigi
a71a4c6d6d Add <cstdint> header inclusion in GMPDeviceBinding.h and GMPDeviceBinding.cpp 2026-04-23 08:21:57 +01:00
wuggy
a5cf494890 Add support for compiling under MinGW + fix Windows compiling in general 2026-04-17 15:05:11 -07:00
Moonchild
a3fcc2932f [WebAudio] Gracefully handle mid-stream audio changes. 2026-03-06 04:26:49 +00:00
roytam1
4cb39ffa48 webaudio: don't use C++17 std::clamp, use std::min(max, std::max(min, v)) instead. 2025-05-27 23:48:17 +08:00
roytam1
7f3ccb5dc3 Merge remote-tracking branch 'origin/tracking' into custom 2025-05-27 23:22:51 +08:00
trav90
96cc879fab Issue #2741 - Part 3 - Clamp rolloff factor appropriately in PannerNodeEngine 2025-05-27 23:17:53 +08:00
roytam1
f67e22d3f0 Issue #2678 - addendum to rev 139e7a7a 2025-01-20 21:31:50 +08:00
roytam1
904406a497 Merge remote-tracking branch 'origin/tracking' into custom 2025-01-20 21:13:46 +08:00
Moonchild
139e7a7ac6 Issue #2678 - Remove NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED
This no longer does anything at this point, except add indirection.
2025-01-20 21:12:18 +08:00
roytam1
44f397bea2 Merge remote-tracking branch 'origin/tracking' into custom 2025-01-10 22:32:18 +08:00
Moonchild
8f52da3288 Issue #2673 - Part 2b: Improve ADTS format sniffer's performance.
Also avoids false positives.
2025-01-10 22:29:13 +08:00
Moonchild
e25b285ca7 Issue #2673 - Part 2: Add ADTS format sniffer. 2025-01-10 22:28:30 +08:00
Moonchild
0c2130e615 Issue #2673 - Part 1: Minor ADTSDemuxer cleanup. 2025-01-10 22:28:10 +08:00
roytam1
310c05b97a Merge remote-tracking branch 'origin/tracking' into custom 2024-11-21 21:09:29 +08:00
Moonchild
7b6e3a2d4a Issue #2653 - Part 1: Initial cleanup of AppId and isolated mozbrowser.
This removes a lot of the plumbing for having the platform embed itself
through IPC which was required for B2G running the browser as both
shell and browser application.
2024-11-21 21:01:27 +08:00
roytam1
4397f384a7 Merge remote-tracking branch 'origin/tracking' into custom 2024-10-31 21:48:26 +08:00
Karl Tomlinson
9ba1057e54 Bug 1920800 - Remove oldImages from check for flushed old principal handle
The logic should be equivalent when frame IDs on aImages are contiguously
increasing from IDs on previously set frames.

There are currently no callers passing empty aImages, but the logic in this
case would now be as described in the documentation of
UpdatePrincipalHandleForFrameID():

> We will notify mElement that aPrincipalHandle has been applied when all
> FrameIDs prior to aFrameID have been flushed out.
2024-10-31 21:47:54 +08:00
roytam1
73f3390cf8 Merge remote-tracking branch 'origin/tracking' into custom 2024-10-03 14:35:59 +08:00
Moonchild
b848a924bc [GMP] Factor out more detailed CheckDimensions function for CreateFrame. 2024-10-03 14:35:40 +08:00
roytam1
687f52e183 Merge remote-tracking branch 'origin/tracking' into custom 2024-10-01 10:28:33 +08:00
Moonchild
ea2268b5e8 Bug 1900191 - Use nestegg advertised default duration if it exists. 2024-10-01 10:27:39 +08:00
Moonchild
8cb68d8ea8 Bug 1878510 - Follow-up: Explicitly pass values through variadic functions
While MSVC has no issue with this and understands values should be passed,
clang doesn't like it and aborts.
2024-10-01 10:27:24 +08:00
Moonchild
60c31a5473 Bug 1878510 - When recreating WebM demuxer when encountering a new segment, propagate media time 2024-10-01 10:27:11 +08:00
roytam1
d835b252d7 Merge remote-tracking branch 'origin/tracking' into custom 2024-06-13 11:32:08 +08:00
Moonchild
a2417d573b [DOM] Clone video info properly. 2024-06-13 11:28:58 +08:00
roytam1
552db66da0 Merge remote-tracking branch 'origin/tracking' into custom 2024-04-19 09:37:04 +08:00
Moonchild
9eaee03eb4 [dom media] Avoid a potential issue when assigning a media data buffer. 2024-04-19 09:35:53 +08:00
roytam1
4f792793c2 Merge remote-tracking branch 'origin/tracking' into custom 2024-04-08 11:13:25 +08:00
Moonchild
95642cb4e5 Issue #2490 - Part 10: Convert CSSNamespaceRule to WebIDL. 2024-04-08 10:58:54 +08:00
roytam1
b0345ff809 Merge remote-tracking branch 'origin/tracking' into custom 2024-01-18 10:17:09 +08:00
Martok
fbd829908e Issue #2452 - Don't use WebVTTListener, JS wrapper, MediaShutdownManager in stable state
https://bugzilla.mozilla.org/show_bug.cgi?id=1443429
https://bugzilla.mozilla.org/show_bug.cgi?id=1515021
2024-01-18 10:14:46 +08:00
Martok
d6dd1f8133 Issue #2452 - Ensure DOM events aren't dispatched at unexpected time
https://bugzilla.mozilla.org/show_bug.cgi?id=1409985
https://bugzilla.mozilla.org/show_bug.cgi?id=1443746
2024-01-18 10:08:24 +08:00
roytam1
c889903081 Merge remote-tracking branch 'origin/tracking' into custom 2023-11-30 10:05:11 +08:00
trav90
6807675123 Issue #2393 - Part 4 - Reduce VideoQueue size for GPU based images 2023-11-30 09:53:36 +08:00
trav90
b09b3771c6 Issue #2393 - Part 3 - Remove extra copy of YUV buffer on Windows 2023-11-30 09:53:08 +08:00
roytam1
db8e04921c dom/media: follow-up rev eb44f633, add reference symbol `&' to prevent unneeded AddRef()ing
mozilla wrote in same style in bd2c9f62b3/dom/locks/LockManagerParent.cpp (L49)
2023-10-26 22:41:34 +08:00
roytam1
bac9ec9a84 Merge remote-tracking branch 'origin/tracking' into custom 2023-10-26 10:55:31 +08:00
Moonchild
eb44f633ee [media] Use RefPtr<TrackBuffersManager> instead of raw pointers 2023-10-26 10:50:47 +08:00
Jeremy Andrews
490df49307 Issue #2357 - WebM w/alpha renders black if WMF decoder is enabled.
Mozilla forgot to force use of VPXDecoder on Windows in their initial implementation, this is pretty much what they did for Android as well. Straight port of the Firefox 67 fix.

Ref: BZ 1528652
2023-10-26 10:50:02 +08:00
Jeremy Andrews
c0ba3a8d2e Issue #2357 - VPXDecoder does not decode alpha frames.
Another requirement to have transparency in videos. Straight port of Firefox 53 implementation, save for some oddities relating to needing to put uint8_t instead of uint8 in yuv_convert to get this to compile.

Ref: BZ 1321076, 1329104
2023-10-26 10:49:23 +08:00
Jeremy Andrews
71cc0ef940 Issue #2357 - WebM demuxer can't tell when a video wants to be transparent.
Required to have an alpha channel (which in the strange world of graphics seems to refer to transparency, and not experimental code) in WebM videos. Straight port of Firefox 53 implementation, adapted slightly for a couple of patches previously taken without this.

Ref: BZ 1320829
2023-10-26 10:49:04 +08:00
roytam1
ce8751185f Merge remote-tracking branch 'origin/tracking' into custom 2023-10-21 11:22:34 +08:00
Basilisk-Dev
9f63203a43 Issue #2332 - Hyphenate rtc stats type as per spec
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1322503
2023-10-21 11:03:07 +08:00
roytam1
d6590573ed Merge remote-tracking branch 'origin/tracking' into custom 2023-10-11 11:56:50 +08:00
Basilisk-Dev
348f761a9b Issue #2332 - Fix CamerasChild helper to return by value instead of out-of-scope reference
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1318132
2023-10-11 11:55:16 +08:00
Basilisk-Dev
763cdb00cb Issue #2332 - Update most tests to skip RTCSessionDescription construction
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 part 6
2023-10-11 11:54:56 +08:00
Basilisk-Dev
f615587ab7 Issue #2332 - Update most tests to skip RTCIceCandidate construction
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 part 5
2023-10-11 11:54:40 +08:00