mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
screenshot: Workaround for broken osd screenshot with new fb driver...
...and 1280x720 resolution.
This commit is contained in:
@@ -39,6 +39,7 @@ class CScreenShot : public OpenThreads::Thread
|
||||
unsigned char * pixel_data;
|
||||
int xres;
|
||||
int yres;
|
||||
bool extra_osd;
|
||||
bool get_osd;
|
||||
bool get_video;
|
||||
bool scale_to_video;
|
||||
@@ -52,6 +53,9 @@ class CScreenShot : public OpenThreads::Thread
|
||||
bool SaveJpg();
|
||||
bool SaveBmp();
|
||||
void run();
|
||||
#ifdef BOXMODEL_CS_HD2
|
||||
bool mergeOsdScreen(uint32_t dx, uint32_t dy, fb_pixel_t* osdData);
|
||||
#endif
|
||||
|
||||
public:
|
||||
CScreenShot(const std::string fname = "", screenshot_format_t fmt = CScreenShot::FORMAT_JPG);
|
||||
|
Reference in New Issue
Block a user