Index: webrtc/video_encoder.h |
diff --git a/webrtc/video_encoder.h b/webrtc/video_encoder.h |
index 9bfec55eb7ddc48659b0063ebc13fa3c4f49c7bb..d28533b9fd062f23c12cf1ff10f984b501f90259 100644 |
--- a/webrtc/video_encoder.h |
+++ b/webrtc/video_encoder.h |
@@ -83,6 +83,10 @@ class VideoEncoder { |
}; |
static VideoEncoder* Create(EncoderType codec_type); |
+ // Returns true if this type of encoder can be created using |
+ // VideoEncoder::Create. |
+ static bool IsSupportedSoftware(EncoderType codec_type); |
+ static EncoderType CodecToEncoderType(VideoCodecType codec_type); |
static VideoCodecVP8 GetDefaultVp8Settings(); |
static VideoCodecVP9 GetDefaultVp9Settings(); |