mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-18 11:35:15 -04:00
TRY OUT SWS_POINT|SWS_BITEXACT scaling
This commit is contained in:
@@ -282,7 +282,9 @@ void Image::Assign(const AVFrame *frame) {
|
||||
sws_convert_context,
|
||||
frame->width, frame->height, (AVPixelFormat)frame->format,
|
||||
width, height, format,
|
||||
SWS_BICUBIC, nullptr, nullptr, nullptr);
|
||||
//SWS_BICUBIC,
|
||||
SWS_POINT | SWS_BITEXACT,
|
||||
nullptr, nullptr, nullptr);
|
||||
if ( sws_convert_context == nullptr )
|
||||
Fatal("Unable to create conversion context");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user