diff --git a/sdk/android/src/jni/androidvideotracksource.h b/sdk/android/src/jni/androidvideotracksource.h index 8836c11176..524c36d837 100644 --- a/sdk/android/src/jni/androidvideotracksource.h +++ b/sdk/android/src/jni/androidvideotracksource.h @@ -38,9 +38,7 @@ class AndroidVideoTrackSource : public rtc::AdaptedVideoTrackSource { // Indicates that the encoder should denoise video before encoding it. // If it is not set, the default configuration is used which is different // depending on video codec. - rtc::Optional needs_denoising() const override { - return rtc::Optional(false); - } + rtc::Optional needs_denoising() const override { return false; } // Called by the native capture observer void SetState(SourceState state);