mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 15:57:31 +09:00
[webm] Store LastSeenFrame dimensions as an nsIntSize
This simplifies the comparison and update logic.
This commit is contained in:
parent
d6206801dd
commit
e7d7e0d2bf
2 changed files with 6 additions and 8 deletions
|
|
@ -237,8 +237,7 @@ private:
|
|||
int64_t mLastWebMBlockOffset;
|
||||
const bool mIsMediaSource;
|
||||
|
||||
Maybe<uint32_t> mLastSeenFrameWidth;
|
||||
Maybe<uint32_t> mLastSeenFrameHeight;
|
||||
Maybe<nsIntSize> mLastSeenFrameSize;
|
||||
// This will be populated only if a resolution change occurs, otherwise it
|
||||
// will be left as null so the original metadata is used
|
||||
RefPtr<SharedTrackInfo> mSharedVideoTrackInfo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue