Skip to content

Commit cdb02c7

Browse files
author
Clement Champetier
committed
Option: add getters to min and max
1 parent 4108338 commit cdb02c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/AvTranscoder/Option.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ class Option
4747
std::string getHelp() const { return std::string( m_avOption.help ? m_avOption.help : "" ); }
4848
std::string getUnit() const { return std::string( m_avOption.unit ? m_avOption.unit : "" ); }
4949
int getOffset() const { return m_avOption.offset; }
50+
double getMin() const { return m_avOption.min; }
51+
double getMax() const { return m_avOption.max; }
5052

5153
// flags
5254
int getFlags() const { return m_avOption.flags; }

0 commit comments

Comments
 (0)