mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
Merge branch 'ni/tuxbox' into ni/mp/tuxbox
Conflicts:
src/Makefile.am
src/gui/imageinfo_ni.cpp
src/gui/movieplayer.cpp
src/gui/update.cpp
src/gui/videosettings.cpp
src/system/setting_helpers.cpp
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4b934995ae
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-12 (Sun, 12 Feb 2017)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -78,7 +78,7 @@ bool CScreenShot::GetData()
|
||||
bool res = false;
|
||||
|
||||
mutex.lock();
|
||||
#if HAVE_COOL_HARDWARE && BOXMODEL_NEVIS
|
||||
#ifdef BOXMODEL_CS_HD1
|
||||
CFrameBuffer::getInstance()->setActive(false);
|
||||
#endif
|
||||
if (videoDecoder->getBlank())
|
||||
@@ -87,7 +87,7 @@ bool CScreenShot::GetData()
|
||||
res = videoDecoder->GetScreenImage(pixel_data, xres, yres, get_video, get_osd, scale_to_video);
|
||||
#endif
|
||||
|
||||
#if HAVE_COOL_HARDWARE && BOXMODEL_NEVIS
|
||||
#ifdef BOXMODEL_CS_HD1
|
||||
/* sort of hack. GXA used to transfer/convert live image to RGB,
|
||||
* so setup GXA back */
|
||||
CFrameBuffer::getInstance()->setupGXA();
|
||||
@@ -216,7 +216,7 @@ bool CScreenShot::SavePng()
|
||||
png_set_compression_level(png_ptr, Z_BEST_SPEED);
|
||||
|
||||
png_set_bgr(png_ptr);
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
#ifdef BOXMODEL_CS_HD2
|
||||
png_set_invert_alpha(png_ptr);
|
||||
#endif
|
||||
png_write_info(png_ptr, info_ptr);
|
||||
|
Reference in New Issue
Block a user