Index: webrtc/video/video_decoder.cc |
diff --git a/webrtc/video/video_decoder.cc b/webrtc/video/video_decoder.cc |
index fa1f2ee878045ca9df14f70b3e73be4134d023fd..2a0151d750f59abbe86aab5051ab9ca9613b8577 100644 |
--- a/webrtc/video/video_decoder.cc |
+++ b/webrtc/video/video_decoder.cc |
@@ -131,4 +131,10 @@ int32_t VideoDecoderSoftwareFallbackWrapper::Reset() { |
return decoder_->Reset(); |
} |
+bool VideoDecoderSoftwareFallbackWrapper::PrefersLateDecoding() const { |
+ if (fallback_decoder_) |
+ return fallback_decoder_->PrefersLateDecoding(); |
+ return decoder_->PrefersLateDecoding(); |
+} |
+ |
} // namespace webrtc |