mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-27 08:48:31 -04:00
TRY OUT SWS_POINT|SWS_BITEXACT scaling
This commit is contained in:
1 parent
415dd83d06
commit
d8e37945a3
1 file changed
+3
-1
+3
-1
@@ -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