summaryrefslogtreecommitdiff
path: root/liboutput
diff options
context:
space:
mode:
authorAndreas Brachold <vdr07@deltab.de>2005-07-28 15:41:43 +0000
committerAndreas Brachold <vdr07@deltab.de>2005-07-28 15:41:43 +0000
commit8c5bda0e344a1389cad91eef9f7e00b069ffa933 (patch)
tree305b438e155a7d69697e099a2ddbbea4b87d9eeb /liboutput
parent57ff8fb8eb79adfebfaf43c884eac70e3ffb2b2c (diff)
downloadvdr-plugin-image-8c5bda0e344a1389cad91eef9f7e00b069ffa933.tar.gz
vdr-plugin-image-8c5bda0e344a1389cad91eef9f7e00b069ffa933.tar.bz2
- add option for border of underscan
- rename setup variables to hungarian notation
Diffstat (limited to 'liboutput')
-rw-r--r--liboutput/encode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/liboutput/encode.h b/liboutput/encode.h
index 15dd28d..f19a4c4 100644
--- a/liboutput/encode.h
+++ b/liboutput/encode.h
@@ -26,7 +26,7 @@
#define _ENCODE_H
#include <ffmpeg/avcodec.h>
-
+#include "../setup-image.h"
//#define TESTCODE
class cEncode
@@ -66,8 +66,8 @@ public:
inline unsigned int GetHeight() const { return m_nHeight; }
inline unsigned int GetWidth() const { return m_nWidth; }
- inline unsigned int GetBorderHeight() const { return 16; }
- inline unsigned int GetBorderWidth() const { return 16; }
+ inline unsigned int GetBorderHeight() const { return ImageSetup.m_nBorderHeight; }
+ inline unsigned int GetBorderWidth() const { return ImageSetup.m_nBorderWidth; }
inline uint8_t *GetRGBMem() { return m_pImageRGB; }
void ClearRGBMem ();