Init LibAvContextHandle flags. fix current frame number variable. Add disconnect function when stop is clicked
This commit is contained in:
1 parent
3ee9a4b277
commit
fcef6e09c4
3 files changed
+20
-18
No files matched your search
@@ -43,8 +43,6 @@ extern "C"
|
||||
#include <libavformat/avformat.h>
|
||||
}
|
||||
|
||||
|
||||
|
||||
#include "TypeDef.h"
|
||||
|
||||
namespace plaYUVer
|
||||
@@ -53,6 +51,10 @@ namespace plaYUVer
|
||||
class LibAvContextHandle
|
||||
{
|
||||
public:
|
||||
LibAvContextHandle() :
|
||||
m_bHasStream( false )
|
||||
{
|
||||
}
|
||||
Bool initAvFormat( char* filename, UInt& width, UInt& height, Int& pixel_format, UInt& frame_rate );
|
||||
Void closeAvFormat();
|
||||
Bool decodeAvFormat();
|
||||
|
||||
Reference in new issue
Block a user