From cdc9262868dcd658ca1105f284d390a15fd33729 Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Tue, 25 Jan 2011 22:45:03 +0100 Subject: 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. --- css/styles.css | 8 ++++---- grab.cpp | 2 +- live/img/tv.jpg | Bin 48098 -> 122494 bytes pages/screenshot.ecpp | 4 ++-- 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 Binary files a/live/img/tv.jpg and b/live/img/tv.jpg 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; <%args> int quality = 80; -int width = 320; -int height = 240; +int width = 569; +int height = 320; <%session scope="global"> bool logged_in(false); -- cgit v1.2.3