summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2011-01-25 22:45:03 +0100
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2011-01-25 22:45:03 +0100
commitcdc9262868dcd658ca1105f284d390a15fd33729 (patch)
treed7752b86916b19658a7696def303ca082ceac85b
parentefc6c043a5fa0d557e82b562a8139e2a42541a89 (diff)
downloadvdr-plugin-live-cdc9262868dcd658ca1105f284d390a15fd33729.tar.gz
vdr-plugin-live-cdc9262868dcd658ca1105f284d390a15fd33729.tar.bz2
Applied patch supplied by vdr-portal.de user iNOB in the post:
http://www.vdr-portal.de/board/thread.php?postid=946704#post946704 It replaces the 4:3 tv image on the remote page with 16:9 one, which is more appropriate for todays TV image ratios.
-rw-r--r--css/styles.css8
-rw-r--r--grab.cpp2
-rw-r--r--live/img/tv.jpgbin48098 -> 122494 bytes
-rw-r--r--pages/screenshot.ecpp4
4 files changed, 7 insertions, 7 deletions
diff --git a/css/styles.css b/css/styles.css
index 45ee9bf..cef24b3 100644
--- a/css/styles.css
+++ b/css/styles.css
@@ -1053,16 +1053,16 @@ div.recording_item {
div.screenshot {
background-image: url(img/tv.jpg);
background-repeat: no-repeat;
- height: 240px;
- width: 320px;
+ height: 320px;
+ width: 569px;
float: left;
padding: 20px 20px 98px 21px;
margin-right: 20px;
}
div.screenshot img {
- width: 320px;
- height: 240px;
+ width: 569px;
+ height: 320px;
}
/*
diff --git a/grab.cpp b/grab.cpp
index bc45263..a86f3e9 100644
--- a/grab.cpp
+++ b/grab.cpp
@@ -13,7 +13,7 @@ const unsigned int GrabPauseIntervalMs = GrabMinIntervalMs * 20;
class GrabImageTask: public StickyTask
{
public:
- explicit GrabImageTask( int quality = 80, int width = 320, int height = 240 )
+ explicit GrabImageTask( int quality = 80, int width = 729, int height = 480 )
: m_firstTime( 0 )
, m_lastTime( 0 )
, m_quality( quality )
diff --git a/live/img/tv.jpg b/live/img/tv.jpg
index 34aee1c..afcec8b 100644
--- a/live/img/tv.jpg
+++ b/live/img/tv.jpg
Binary files differ
diff --git a/pages/screenshot.ecpp b/pages/screenshot.ecpp
index 0fc1a3c..c80c1c8 100644
--- a/pages/screenshot.ecpp
+++ b/pages/screenshot.ecpp
@@ -8,8 +8,8 @@ using namespace vdrlive;
</%pre>
<%args>
int quality = 80;
-int width = 320;
-int height = 240;
+int width = 569;
+int height = 320;
</%args>
<%session scope="global">
bool logged_in(false);