mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +02:00
neutrino: enable screenshots
This commit is contained in:
@@ -34,10 +34,10 @@ libneutrino_driver_a_SOURCES = \
|
||||
record.cpp \
|
||||
ringbuffer.c \
|
||||
screen_max.cpp \
|
||||
screenshot.cpp \
|
||||
shutdown_count.cpp \
|
||||
streamts.cpp \
|
||||
volume.cpp
|
||||
# screenshot.cpp
|
||||
|
||||
if BOXTYPE_GENERIC
|
||||
libneutrino_driver_a_SOURCES += \
|
||||
|
@@ -82,7 +82,7 @@ bool CScreenShot::GetData()
|
||||
#endif
|
||||
if (videoDecoder->getBlank())
|
||||
get_video = false;
|
||||
#if 1 // to enable after libcs/drivers update
|
||||
#ifdef SCREENSHOT
|
||||
res = videoDecoder->GetScreenImage(pixel_data, xres, yres, get_video, get_osd, scale_to_video);
|
||||
#endif
|
||||
|
||||
@@ -90,7 +90,7 @@ bool CScreenShot::GetData()
|
||||
/* sort of hack. GXA used to transfer/convert live image to RGB,
|
||||
* so setup GXA back */
|
||||
CFrameBuffer::getInstance()->setupGXA();
|
||||
CFrameBuffer::getInstance()->add_gxa_sync_marker();
|
||||
//CFrameBuffer::getInstance()->add_gxa_sync_marker();
|
||||
CFrameBuffer::getInstance()->setActive(true);
|
||||
#endif
|
||||
mutex.unlock();
|
||||
|
Reference in New Issue
Block a user