diff --git a/lib/tlIO/FFmpeg.h b/lib/tlIO/FFmpeg.h index 15103805..7039aaa6 100644 --- a/lib/tlIO/FFmpeg.h +++ b/lib/tlIO/FFmpeg.h @@ -66,7 +66,7 @@ namespace tl const size_t threadCount = 0; //! Software scaler flags. - const int swsScaleFlags = SWS_SPLINE | SWS_ACCURATE_RND | SWS_FULL_CHR_H_INT | SWS_FULL_CHR_H_INP; + const int swsScaleFlags = SWS_FAST_BILINEAR | SWS_FULL_CHR_H_INT | SWS_FULL_CHR_H_INP; //! Swap the numerator and denominator. AVRational swap(AVRational); diff --git a/lib/tlIO/NDI.h b/lib/tlIO/NDI.h index 0eb76b64..5294cd9d 100644 --- a/lib/tlIO/NDI.h +++ b/lib/tlIO/NDI.h @@ -46,7 +46,7 @@ namespace tl namespace ndi { //! Software scaler flags. - const int swsScaleFlags = SWS_SPLINE | SWS_ACCURATE_RND | SWS_FULL_CHR_H_INT | SWS_FULL_CHR_H_INP; + const int swsScaleFlags = SWS_FAST_BILINEAR | SWS_FULL_CHR_H_INT | SWS_FULL_CHR_H_INP; //! Convert to FFmpeg. AVSampleFormat fromAudioType(audio::DataType);