mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-23 00:47:31 +09:00
Merge remote-tracking branch 'origin/tracking' into custom
This commit is contained in:
commit
d835b252d7
5 changed files with 33 additions and 9 deletions
|
|
@ -210,13 +210,25 @@ public:
|
|||
, mDisplay(aOther.mDisplay)
|
||||
, mStereoMode(aOther.mStereoMode)
|
||||
, mImage(aOther.mImage)
|
||||
, mCodecSpecificConfig(aOther.mCodecSpecificConfig)
|
||||
, mExtraData(aOther.mExtraData)
|
||||
, mCodecSpecificConfig(nullptr)
|
||||
, mExtraData(nullptr)
|
||||
, mRotation(aOther.mRotation)
|
||||
, mBitDepth(aOther.mBitDepth)
|
||||
, mImageRect(aOther.mImageRect)
|
||||
, mAlphaPresent(aOther.mAlphaPresent)
|
||||
{
|
||||
if (aOther.mCodecSpecificConfig) {
|
||||
mCodecSpecificConfig = new MediaByteBuffer();
|
||||
mCodecSpecificConfig->AppendElements(
|
||||
reinterpret_cast<uint8_t*>(aOther.mCodecSpecificConfig->Elements()),
|
||||
aOther.mCodecSpecificConfig->Length());
|
||||
}
|
||||
if (aOther.mExtraData) {
|
||||
mExtraData = new MediaByteBuffer();
|
||||
mExtraData->AppendElements(
|
||||
reinterpret_cast<uint8_t*>(aOther.mExtraData->Elements()),
|
||||
aOther.mExtraData->Length());
|
||||
}
|
||||
}
|
||||
|
||||
bool IsValid() const override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue