diff options
Diffstat (limited to 'third_party/libwebrtc/api/video_codecs/video_decoder_software_fallback_wrapper.h')
-rw-r--r-- | third_party/libwebrtc/api/video_codecs/video_decoder_software_fallback_wrapper.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/libwebrtc/api/video_codecs/video_decoder_software_fallback_wrapper.h b/third_party/libwebrtc/api/video_codecs/video_decoder_software_fallback_wrapper.h index 3f44e02b26..4fbc9a0048 100644 --- a/third_party/libwebrtc/api/video_codecs/video_decoder_software_fallback_wrapper.h +++ b/third_party/libwebrtc/api/video_codecs/video_decoder_software_fallback_wrapper.h @@ -13,6 +13,7 @@ #include <memory> +#include "api/environment/environment.h" #include "api/video_codecs/video_decoder.h" #include "rtc_base/system/rtc_export.h" @@ -23,6 +24,13 @@ namespace webrtc { // hardware restrictions, such as max resolution. RTC_EXPORT std::unique_ptr<VideoDecoder> CreateVideoDecoderSoftwareFallbackWrapper( + const Environment& env, + std::unique_ptr<VideoDecoder> sw_fallback_decoder, + std::unique_ptr<VideoDecoder> hw_decoder); + +// TODO: bugs.webrtc.org/15791 - Deprecated, remove when not used by chromium. +RTC_EXPORT std::unique_ptr<VideoDecoder> +CreateVideoDecoderSoftwareFallbackWrapper( std::unique_ptr<VideoDecoder> sw_fallback_decoder, std::unique_ptr<VideoDecoder> hw_decoder); |