mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
9b57c4ac82
Lack of mEOS for decoding Vorbis on RDD was causing a mochitest failure with file spacestorm-1000Hz-100ms.ogg in dom/media/test/test_playback.html. The symptom was an incorrect frame count here[1]. [1] https://searchfox.org/mozilla-central/rev/b59a99943de4dd314bae4e44ab43ce7687ccbbec/dom/media/platforms/agnostic/VorbisDecoder.cpp#178 Differential Revision: https://phabricator.services.mozilla.com/D29756 --HG-- extra : moz-landing-system : lando
30 lines
646 B
Plaintext
30 lines
646 B
Plaintext
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
include "mozilla/dom/MediaIPCUtils.h";
|
|
|
|
using mozilla::media::TimeUnit from "TimeUnits.h";
|
|
|
|
namespace mozilla {
|
|
|
|
// used for both SendInput/RecvInput and ProcessDecodedData/RecvOutput
|
|
struct MediaDataIPDL
|
|
{
|
|
int64_t offset;
|
|
TimeUnit time;
|
|
TimeUnit timecode;
|
|
TimeUnit duration;
|
|
bool keyframe;
|
|
};
|
|
|
|
// used for SendInput/RecvInput
|
|
struct MediaRawDataIPDL
|
|
{
|
|
MediaDataIPDL base;
|
|
bool eos;
|
|
Shmem buffer;
|
|
};
|
|
|
|
} // namespace mozilla
|