Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Using SWS_POINT scaling for XImageOutput

  • Loading branch information...
commit 57bb72af462bb355a07b747b7ccd20e9282d065f 1 parent b133cee
@wedesoft authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  Rakefile
  2. +1 −1  ext/ximagepainter.cc
View
2  Rakefile
@@ -7,7 +7,7 @@ require 'rake/loaders/makefile'
require 'rbconfig'
PKG_NAME = 'hornetseye-xorg'
-PKG_VERSION = '0.5.1'
+PKG_VERSION = '0.5.2'
CFG = RbConfig::CONFIG
CXX = ENV[ 'CXX' ] || 'g++'
RB_FILES = FileList[ 'lib/**/*.rb' ]
View
2  ext/ximagepainter.cc
@@ -78,7 +78,7 @@ void XImagePainter::paint( bool ) throw (Error)
SwsContext *swsContext =
sws_getContext( frame->width(), frame->height(), PIX_FMT_RGB24,
m_window->width(), m_window->height(), PIX_FMT_BGRA,
- SWS_FAST_BILINEAR, 0, 0, 0 );
+ SWS_POINT, 0, 0, 0 );
uint8_t *sourceData[4];
int sourceLineSize[4];
sourceData[0] = (uint8_t *)frame->data();
Please sign in to comment.
Something went wrong with that request. Please try again.