summaryrefslogtreecommitdiffstats
path: root/dom/media/webm/WebMDemuxer.h
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2018-10-08 21:05:52 -0500
committertrav90 <travawine@palemoon.org>2018-10-08 21:05:52 -0500
commitae3cdb4be3cfe1faccf1d8a74928391570952609 (patch)
treea4938875fb0fb87fa3d8144ec01072c2d06e22b0 /dom/media/webm/WebMDemuxer.h
parent7ad419ece9a1fba9e65dcc94654fea822d08bc2f (diff)
downloadUXP-ae3cdb4be3cfe1faccf1d8a74928391570952609.tar
UXP-ae3cdb4be3cfe1faccf1d8a74928391570952609.tar.gz
UXP-ae3cdb4be3cfe1faccf1d8a74928391570952609.tar.lz
UXP-ae3cdb4be3cfe1faccf1d8a74928391570952609.tar.xz
UXP-ae3cdb4be3cfe1faccf1d8a74928391570952609.zip
[webm] Store LastSeenFrame dimensions as an nsIntSize
This simplifies the comparison and update logic.
Diffstat (limited to 'dom/media/webm/WebMDemuxer.h')
-rw-r--r--dom/media/webm/WebMDemuxer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/dom/media/webm/WebMDemuxer.h b/dom/media/webm/WebMDemuxer.h
index 6fff38e7d..a5008022f 100644
--- a/dom/media/webm/WebMDemuxer.h
+++ b/dom/media/webm/WebMDemuxer.h
@@ -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;