diff options
Diffstat (limited to 'chromium/media/filters/offloading_video_decoder.cc')
-rw-r--r-- | chromium/media/filters/offloading_video_decoder.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/media/filters/offloading_video_decoder.cc b/chromium/media/filters/offloading_video_decoder.cc index 242190f8009..c5379ebf0ec 100644 --- a/chromium/media/filters/offloading_video_decoder.cc +++ b/chromium/media/filters/offloading_video_decoder.cc @@ -75,6 +75,11 @@ OffloadingVideoDecoder::~OffloadingVideoDecoder() { offload_task_runner_->DeleteSoon(FROM_HERE, std::move(helper_)); } +VideoDecoderType OffloadingVideoDecoder::GetDecoderType() const { + // This call is expected to be static and safe to call from any thread. + return helper_->decoder()->GetDecoderType(); +} + std::string OffloadingVideoDecoder::GetDisplayName() const { // This call is expected to be static and safe to call from any thread. return helper_->decoder()->GetDisplayName(); |