Init LibAvContextHandle flags. fix current frame number variable. Add disconnect function when stop is clicked

This commit is contained in:
jfmcarreira committed 2014-02-08 01:02:48 +00:00
1 parent 3ee9a4b277
commit fcef6e09c4
3 files changed
+20 -18

No files matched your search

+4 -2
View File
@@ -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();