From b18f1e0171cb0adf643a6fe7a473498d7472fdfd Mon Sep 17 00:00:00 2001 From: kos Date: Mon, 14 Jan 2013 19:19:35 +0900 Subject: [PATCH] fixed aio-grab log. --- meta-openvuplus/recipes-vuplus/aio-grab/aio-grab.bb | 2 +- ...uplus_8394e1ba98c73d7c56d3235ef16cce253dc597cd.patch | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/meta-openvuplus/recipes-vuplus/aio-grab/aio-grab.bb b/meta-openvuplus/recipes-vuplus/aio-grab/aio-grab.bb index d2a1e3f..779678e 100755 --- a/meta-openvuplus/recipes-vuplus/aio-grab/aio-grab.bb +++ b/meta-openvuplus/recipes-vuplus/aio-grab/aio-grab.bb @@ -2,7 +2,7 @@ SUMMARY = "Screen grabber for Set-Top-Boxes" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f" SRCREV = "8394e1ba98c73d7c56d3235ef16cce253dc597cd" -PR = "r0" +PR = "r1" SRC_URI = " \ git://schwerkraft.elitedvb.net/aio-grab/aio-grab.git;protocol=git;tag=${SRCREV} \ diff --git a/meta-openvuplus/recipes-vuplus/aio-grab/aio-grab/aio-grab_vuplus_8394e1ba98c73d7c56d3235ef16cce253dc597cd.patch b/meta-openvuplus/recipes-vuplus/aio-grab/aio-grab/aio-grab_vuplus_8394e1ba98c73d7c56d3235ef16cce253dc597cd.patch index b7208c6..b984de8 100644 --- a/meta-openvuplus/recipes-vuplus/aio-grab/aio-grab/aio-grab_vuplus_8394e1ba98c73d7c56d3235ef16cce253dc597cd.patch +++ b/meta-openvuplus/recipes-vuplus/aio-grab/aio-grab/aio-grab_vuplus_8394e1ba98c73d7c56d3235ef16cce253dc597cd.patch @@ -8,9 +8,16 @@ index ccfb515..a6f8d11 100644 stamp-h1 +aio-grab_vuplus_* diff --git a/main.c b/main.c -index 190ff5f..c611913 100644 +index 190ff5f..dd22bc4 100644 --- a/main.c +++ b/main.c +@@ -1,5 +1,5 @@ + /* +-AiO Dreambox Screengrabber v0.83a ++AiO Screengrabber v0.83a + + written 2006 - 2009 by Seddi + Contact: seddi@ihad.tv / http://www.ihad.tv @@ -38,6 +38,7 @@ Feel free to use the code for your own projects. See LICENSE file for details. #include #include @@ -44,14 +51,18 @@ index 190ff5f..c611913 100644 static const char *file_getline(const char *filename) { static char *line = NULL; -@@ -184,7 +199,6 @@ static int file_scanf_lines(const char *filename, const char *fmt, ...) +@@ -184,10 +199,9 @@ static int file_scanf_lines(const char *filename, const char *fmt, ...) } // main program - int main(int argc, char **argv) { - printf("AiO Dreambox Screengrabber " PACKAGE_VERSION "\n\n"); +- printf("AiO Dreambox Screengrabber " PACKAGE_VERSION "\n\n"); ++ printf("AiO Screengrabber " PACKAGE_VERSION "\n\n"); + + unsigned int xres_v = 0,yres_v = 0,xres_o,yres_o,xres,yres,aspect,width; + int c,osd_only,video_only,use_osd_res,use_png,use_jpg,jpg_quality,no_aspect,use_letterbox; @@ -205,11 +219,29 @@ int main(int argc, char **argv) { char filename[256] = { "/tmp/screenshot.bmp" }; -- 2.7.4