Hi,
ich habe mir im Live-Plugin die Bildausgabe auf der Fernbedienungsseite auf 768x576 vergrößert:
Diff
diff -ru live-0.2.0/css/styles.css live/css/styles.css
--- live-0.2.0/css/styles.css 2008-04-21 00:35:22.000000000 +0200
+++ live/css/styles.css 2008-11-08 17:00:59.000000000 +0100
@@ -957,16 +957,16 @@
div.screenshot {
background-image: url(img/tv.jpg);
background-repeat: no-repeat;
- height: 240px;
- width: 320px;
+ height: 576px;
+ width: 768px;
float: left;
padding: 20px 20px 98px 21px;
margin-right: 20px;
}
div.screenshot img {
- width: 320px;
- height: 240px;
+ width: 768px;
+ height: 576px;
}
/*
diff -ru live-0.2.0/grab.cpp live/grab.cpp
--- live-0.2.0/grab.cpp 2007-05-29 17:50:21.000000000 +0200
+++ live/grab.cpp 2008-09-21 17:42:44.000000000 +0200
@@ -13,7 +13,7 @@
class GrabImageTask: public StickyTask
{
public:
- explicit GrabImageTask( int quality = 80, int width = 320, int height = 240 )
+ explicit GrabImageTask( int quality = 80, int width = 768, int height = 576 )
: m_firstTime( 0 )
, m_lastTime( 0 )
, m_quality( quality )
diff -ru live-0.2.0/Makefile live/Makefile
--- live-0.2.0/Makefile 2008-04-21 00:35:22.000000000 +0200
+++ live/Makefile 2008-08-11 14:16:52.000000000 +0200
@@ -52,7 +52,7 @@
### Includes and Defines (add further entries here):
-INCLUDES += -I$(VDRDIR)/include
+INCLUDES += -I$(VDRDIR)/include -Itnt
ifneq ($(TNTVERS7),yes)
INCLUDES += -Ihttpd
LIBS += httpd/libhttpd.a
diff -ru live-0.2.0/pages/screenshot.ecpp live/pages/screenshot.ecpp
--- live-0.2.0/pages/screenshot.ecpp 2007-05-04 21:51:30.000000000 +0200
+++ live/pages/screenshot.ecpp 2008-11-13 19:43:14.000000000 +0100
@@ -8,8 +8,8 @@
</%pre>
<%args>
int quality = 80;
-int width = 320;
-int height = 240;
+int width = 768;
+int height = 576;
</%args>
<%session scope="global">
bool logged_in(false);
Alles anzeigen
Das Hintergrundbild (TV-Gerät) wird dabei leider nicht mit vergrößert (s. angehängtes Bild). Wo kann ich da noch drehen oder muß ich das Image selber vergrößern?
Gruß
e9hack