Index: webrtc/api/video_codecs/video_decoder.h |
diff --git a/webrtc/api/video_codecs/video_decoder.h b/webrtc/api/video_codecs/video_decoder.h |
index ea531e4c1a17872b193107315ca5aa64b3a6b176..e0f78615d0b7189d13174354d992854daa13702b 100644 |
--- a/webrtc/api/video_codecs/video_decoder.h |
+++ b/webrtc/api/video_codecs/video_decoder.h |
@@ -82,6 +82,13 @@ class VideoDecoder { |
virtual const char* ImplementationName() const { return "unknown"; } |
}; |
+class VideoDecoderFactory { |
+ public: |
+ virtual VideoDecoder* Create() = 0; |
+ virtual void Destroy(VideoDecoder* decoder) = 0; |
+ virtual ~VideoDecoderFactory() {} |
+}; |
+ |
} // namespace webrtc |
#endif // WEBRTC_API_VIDEO_CODECS_VIDEO_DECODER_H_ |