diff options
author | horchi <vdr@jwendel.de> | 2017-03-05 16:49:27 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2017-03-05 16:49:27 +0100 |
commit | 6965ee5e2570436648ecd9b50197c80fd3c28565 (patch) | |
tree | bdd78eac61983d68a173f0b473f030be2b0c2ff7 /patches | |
download | vdr-plugin-seduatmo-6965ee5e2570436648ecd9b50197c80fd3c28565.tar.gz vdr-plugin-seduatmo-6965ee5e2570436648ecd9b50197c80fd3c28565.tar.bz2 |
init git0.0.3
Diffstat (limited to 'patches')
-rw-r--r-- | patches/softhddev-0.5.2-seduatmo.patch | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/patches/softhddev-0.5.2-seduatmo.patch b/patches/softhddev-0.5.2-seduatmo.patch new file mode 100644 index 0000000..fb4532f --- /dev/null +++ b/patches/softhddev-0.5.2-seduatmo.patch @@ -0,0 +1,58 @@ +--- ../vdr-plugin-softhddevice-0.5.2.git.20121115.2130.plain//softhddevice.cpp 2012-11-15 22:28:40.000000000 +0100 ++++ softhddevice.cpp 2012-11-19 11:47:16.519507231 +0100 +@@ -2354,6 +2354,27 @@ + r->height = height; + return true; + } ++ ++ if (strcmp(id, ATMO1_GRAB_SERVICE) == 0) ++ { ++ SoftHDDevice_AtmoGrabService_v1_1_t* r; ++ ++ if (!data) ++ return true; ++ ++ if (SuspendMode != NOT_SUSPENDED) ++ return false; ++ ++ r = (SoftHDDevice_AtmoGrabService_v1_1_t*)data; ++ ++ r->img = VideoGrabService(&r->size, &r->width, &r->height); ++ ++ if (!r->img) ++ return false; ++ ++ return true; ++ } ++ + return false; + } + +--- ../vdr-plugin-softhddevice-0.5.2.git.20121115.2130.plain//softhddevice_service.h 2012-11-05 11:59:01.000000000 +0100 ++++ softhddevice_service.h 2012-11-19 11:48:18.791509431 +0100 +@@ -23,6 +23,7 @@ + #pragma once + + #define ATMO_GRAB_SERVICE "SoftHDDevice-AtmoGrabService-v1.0" ++#define ATMO1_GRAB_SERVICE "SoftHDDevice-AtmoGrabService-v1.1" + #define OSD_3DMODE_SERVICE "SoftHDDevice-Osd3DModeService-v1.0" + + enum +@@ -48,3 +49,17 @@ + { + int Mode; + } SoftHDDevice_Osd3DModeService_v1_0_t; ++ ++typedef struct ++{ ++ // rewuest/reply data ++ ++ int width; ++ int height; ++ ++ // reply data ++ ++ int size; ++ ++ void *img; ++} SoftHDDevice_AtmoGrabService_v1_1_t; |