Remove software fallback in Android hardware codec factories.
Remove backwards compatiblity. Users who need software codecs should migrate to the DefaultVideoCodecFactories. Bug: webrtc:7925 Change-Id: Ifb41c9511d53c17c83222422c221b595bc056cb2 Reviewed-on: https://webrtc-review.googlesource.com/82920 Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Commit-Queue: Anders Carlsson <andersc@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23563}
This commit is contained in:
committed by
Commit Bot
parent
24db1c91a1
commit
80a0a4c482
@ -21,8 +21,8 @@ public class DefaultVideoEncoderFactory implements VideoEncoderFactory {
|
||||
|
||||
public DefaultVideoEncoderFactory(
|
||||
EglBase.Context eglContext, boolean enableIntelVp8Encoder, boolean enableH264HighProfile) {
|
||||
hardwareVideoEncoderFactory = new HardwareVideoEncoderFactory(
|
||||
eglContext, enableIntelVp8Encoder, enableH264HighProfile, false /* fallbackToSoftware */);
|
||||
hardwareVideoEncoderFactory =
|
||||
new HardwareVideoEncoderFactory(eglContext, enableIntelVp8Encoder, enableH264HighProfile);
|
||||
softwareVideoEncoderFactory = new SoftwareVideoEncoderFactory();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user