Index: webrtc/video/video_encoder.cc |
diff --git a/webrtc/video/video_encoder.cc b/webrtc/video/video_encoder.cc |
index 66918af98fb6b07754522202902b43c1aaf4d347..381b77690920ffe8a84d9f4aa658c5c77acf6d45 100644 |
--- a/webrtc/video/video_encoder.cc |
+++ b/webrtc/video/video_encoder.cc |
@@ -122,4 +122,10 @@ void VideoEncoderSoftwareFallbackWrapper::OnDroppedFrame() { |
return encoder_->OnDroppedFrame(); |
} |
+bool VideoEncoderSoftwareFallbackWrapper::SupportsNativeHandle() const { |
+ if (fallback_encoder_) |
+ return fallback_encoder_->SupportsNativeHandle(); |
+ return encoder_->SupportsNativeHandle(); |
+} |
+ |
} // namespace webrtc |