| Index: webrtc/video_decoder.h
|
| diff --git a/webrtc/video_decoder.h b/webrtc/video_decoder.h
|
| index 7a41840ba8fbf9b3d357c0bd730e84d1cd1c47dd..8c89ce97717c76a269a4b32ff0f4fa7cf14d2a75 100644
|
| --- a/webrtc/video_decoder.h
|
| +++ b/webrtc/video_decoder.h
|
| @@ -83,44 +83,6 @@ class VideoDecoder {
|
| virtual const char* ImplementationName() const { return "unknown"; }
|
| };
|
|
|
| -// Class used to wrap external VideoDecoders to provide a fallback option on
|
| -// software decoding when a hardware decoder fails to decode a stream due to
|
| -// hardware restrictions, such as max resolution.
|
| -class VideoDecoderSoftwareFallbackWrapper : public webrtc::VideoDecoder {
|
| - public:
|
| - VideoDecoderSoftwareFallbackWrapper(VideoCodecType codec_type,
|
| - VideoDecoder* decoder);
|
| -
|
| - int32_t InitDecode(const VideoCodec* codec_settings,
|
| - int32_t number_of_cores) override;
|
| -
|
| - int32_t Decode(const EncodedImage& input_image,
|
| - bool missing_frames,
|
| - const RTPFragmentationHeader* fragmentation,
|
| - const CodecSpecificInfo* codec_specific_info,
|
| - int64_t render_time_ms) override;
|
| -
|
| - int32_t RegisterDecodeCompleteCallback(
|
| - DecodedImageCallback* callback) override;
|
| -
|
| - int32_t Release() override;
|
| - bool PrefersLateDecoding() const override;
|
| -
|
| - const char* ImplementationName() const override;
|
| -
|
| - private:
|
| - bool InitFallbackDecoder();
|
| -
|
| - const DecoderType decoder_type_;
|
| - VideoDecoder* const decoder_;
|
| -
|
| - VideoCodec codec_settings_;
|
| - int32_t number_of_cores_;
|
| - std::string fallback_implementation_name_;
|
| - std::unique_ptr<VideoDecoder> fallback_decoder_;
|
| - DecodedImageCallback* callback_;
|
| -};
|
| -
|
| // Video decoder class to be used for unknown codecs. Doesn't support decoding
|
| // but logs messages to LS_ERROR.
|
| class NullVideoDecoder : public VideoDecoder {
|
|
|