Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(807)

Unified Diff: webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc

Issue 1970343002: Make sure WebRTC works without libvpx VP9 support. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: sort headers Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/video_coding/codecs/vp9/vp9.gyp ('k') | webrtc/modules/video_coding/codecs/vp9/vp9_noop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc
diff --git a/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc b/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc
index d5f83c4335dee6d999c368ab1c58808b84bc183b..750f7427cdd8a38d85ea93baa66ca49b5e1300b7 100644
--- a/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc
+++ b/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc
@@ -47,6 +47,10 @@ int GetCpuSpeed(int width, int height) {
#endif
}
+bool VP9Encoder::IsSupported() {
+ return true;
+}
+
VP9Encoder* VP9Encoder::Create() {
return new VP9EncoderImpl();
}
@@ -823,6 +827,10 @@ const char* VP9EncoderImpl::ImplementationName() const {
return "libvpx";
}
+bool VP9Decoder::IsSupported() {
+ return true;
+}
+
VP9Decoder* VP9Decoder::Create() {
return new VP9DecoderImpl();
}
« no previous file with comments | « webrtc/modules/video_coding/codecs/vp9/vp9.gyp ('k') | webrtc/modules/video_coding/codecs/vp9/vp9_noop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698