diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-10-12 17:39:53 +0200 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-10-12 17:39:53 +0200 |
commit | 3d6200f096559e5cebead403b5b151bff2f7ccef (patch) | |
tree | 1f8d474381e43e256bc4e77a37f26b163b69b18a | |
parent | b3713cafe357abff03de39bc45c13391c00a1efe (diff) | |
download | vdr-plugin-dxr3-3d6200f096559e5cebead403b5b151bff2f7ccef.tar.gz vdr-plugin-dxr3-3d6200f096559e5cebead403b5b151bff2f7ccef.tar.bz2 |
add method to get current video stream dimension
-rw-r--r-- | dxr3interface.c | 6 | ||||
-rw-r--r-- | dxr3interface.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/dxr3interface.c b/dxr3interface.c index 878503d..e3d3cea 100644 --- a/dxr3interface.c +++ b/dxr3interface.c @@ -271,6 +271,12 @@ void cDxr3Interface::setDimension(uint32_t horizontal, uint32_t vertical) } } +void cDxr3Interface::dimension(uint32_t &horizontal, uint32_t &vertical) +{ + horizontal = m_horizontal; + vertical = m_vertical; +} + // play functions // ================================== //! set playing mode and start sync engine diff --git a/dxr3interface.h b/dxr3interface.h index 83f73aa..fdaa197 100644 --- a/dxr3interface.h +++ b/dxr3interface.h @@ -104,6 +104,7 @@ public: uint32_t GetVerticalSize() const { return m_vertical; } void setDimension(uint32_t horizontal, uint32_t vertical); + void dimension(uint32_t &horizontal, uint32_t &vertical); // play functions void flushBuffers(); |