summaryrefslogtreecommitdiffstats
path: root/dom/media/MediaDecoderStateMachine.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-02-06 11:53:51 +0100
committerGitHub <noreply@github.com>2020-02-06 11:53:51 +0100
commit58cfb9acc264d3b0569db017d01880189bbeaddb (patch)
tree9ffa42820cd4df74fa6070a06b5effc4826792fa /dom/media/MediaDecoderStateMachine.h
parenta595451104a9ea155703899ab8fbc9f37547bcd9 (diff)
parent4c9689f68077a046e26d2a1ff22959f95d679f54 (diff)
downloadUXP-58cfb9acc264d3b0569db017d01880189bbeaddb.tar
UXP-58cfb9acc264d3b0569db017d01880189bbeaddb.tar.gz
UXP-58cfb9acc264d3b0569db017d01880189bbeaddb.tar.lz
UXP-58cfb9acc264d3b0569db017d01880189bbeaddb.tar.xz
UXP-58cfb9acc264d3b0569db017d01880189bbeaddb.zip
Merge pull request #1389 from MoonchildProductions/EME_conditional
Make building of EME conditional
Diffstat (limited to 'dom/media/MediaDecoderStateMachine.h')
-rw-r--r--dom/media/MediaDecoderStateMachine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/media/MediaDecoderStateMachine.h b/dom/media/MediaDecoderStateMachine.h
index ff3258ff1..f04f34983 100644
--- a/dom/media/MediaDecoderStateMachine.h
+++ b/dom/media/MediaDecoderStateMachine.h
@@ -768,10 +768,12 @@ private:
// Playback will not start when audio is offloading.
bool mAudioOffloading;
+#ifdef MOZ_EME
void OnCDMProxyReady(RefPtr<CDMProxy> aProxy);
void OnCDMProxyNotReady();
RefPtr<CDMProxy> mCDMProxy;
MozPromiseRequestHolder<MediaDecoder::CDMProxyPromise> mCDMProxyPromise;
+#endif
private:
// The buffered range. Mirrored from the decoder thread.