summaryrefslogtreecommitdiff
path: root/liboutput
diff options
context:
space:
mode:
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 ();