diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-04-19 00:34:23 +0200 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-04-19 00:34:23 +0200 |
commit | e84bdab30df96e732a770d3651b4249e49630c33 (patch) | |
tree | 5dfe46bf2005bc9b76d4ea7ef4fbd995b9b718ab /dxr3interface.h | |
parent | a5d92cf8058c96081fbc419ac40d4383414e5dc3 (diff) | |
download | vdr-plugin-dxr3-e84bdab30df96e732a770d3651b4249e49630c33.tar.gz vdr-plugin-dxr3-e84bdab30df96e732a770d3651b4249e49630c33.tar.bz2 |
get rid of m_staticVerticalSize and m_staticHorizontalSize in pes frame
Diffstat (limited to 'dxr3interface.h')
-rw-r--r-- | dxr3interface.h | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/dxr3interface.h b/dxr3interface.h index a147a6c..fc5560a 100644 --- a/dxr3interface.h +++ b/dxr3interface.h @@ -104,21 +104,19 @@ public: // set/get functions uint32_t GetAspectRatio() const; void SetAspectRatio(uint32_t ratio); - uint32_t GetHorizontalSize() const - { - return m_horizontal; - } - void SetHorizontalSize(uint32_t horizontal) - { - m_horizontal = horizontal; - }; - uint32_t GetVerticalSize() const + uint32_t GetHorizontalSize() const { return m_horizontal; } + uint32_t GetVerticalSize() const { return m_vertical; } + + void SetHorizontalSize(uint32_t value) { - return m_vertical; + if (value > 0) + m_horizontal = value; } - void SetVerticalSize(uint32_t vertical) + + void SetVerticalSize(uint32_t value) { - m_vertical = vertical; + if (value > 0) + m_vertical = value; }; // play functions |