summaryrefslogtreecommitdiffstats
path: root/media/video/video_decode_accelerator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/video/video_decode_accelerator.cc')
-rw-r--r--media/video/video_decode_accelerator.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/media/video/video_decode_accelerator.cc b/media/video/video_decode_accelerator.cc
index 142dab3..a72912c 100644
--- a/media/video/video_decode_accelerator.cc
+++ b/media/video/video_decode_accelerator.cc
@@ -4,12 +4,20 @@
#include "media/video/video_decode_accelerator.h"
+#include "base/logging.h"
+
namespace media {
VideoDecodeAccelerator::~VideoDecodeAccelerator() {}
+bool VideoDecodeAccelerator::CanDecodeOnIOThread() {
+ // GPU process subclasses must override this.
+ LOG(FATAL) << "This should only get called in the GPU process";
+ return false; // not reached
}
+} // namespace media
+
namespace base {
void DefaultDeleter<media::VideoDecodeAccelerator>::operator()(