Add frame rate variable into InputStream
This commit is contained in:
1 parent
1b4efd76b0
commit
bbfabf687f
2 files changed
+7
No files matched your search
@@ -43,6 +43,8 @@ InputStream::InputStream()
|
||||
m_iErrorStatus = 0;
|
||||
m_iPixelFormat = -1;
|
||||
|
||||
m_uiFrameRate = 25;
|
||||
|
||||
m_iFileFormat = INVALID;
|
||||
}
|
||||
|
||||
|
||||
@@ -70,6 +70,7 @@ private:
|
||||
|
||||
UInt m_uiWidth;
|
||||
UInt m_uiHeight;
|
||||
UInt m_uiFrameRate;
|
||||
UInt m_uiTotalFrameNum;
|
||||
UInt m_uiCurrFrameNum;
|
||||
|
||||
@@ -126,6 +127,10 @@ public:
|
||||
{
|
||||
return m_uiCurrFrameNum;
|
||||
}
|
||||
UInt getFrameRate()
|
||||
{
|
||||
return m_uiFrameRate;
|
||||
}
|
||||
|
||||
Void setWidth( UInt new_width )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user