Fix input stream buffer behaviour in order to detect end of sequence and
add support to lock multiple sequence display
This commit is contained in:
1 parent
ac6a3aaab9
commit
9c327eb0a3
5 files changed
+123
-101
No files matched your search
@@ -48,13 +48,6 @@
|
||||
namespace plaYUVer
|
||||
{
|
||||
|
||||
enum InputStream_Errors
|
||||
{
|
||||
NO_STREAM_ERROR = 0,
|
||||
READING = 1,
|
||||
END_OF_SEQ = 2,
|
||||
};
|
||||
|
||||
class InputStream
|
||||
{
|
||||
private:
|
||||
@@ -107,6 +100,14 @@ public:
|
||||
YUVFormat = 0, // Use color space.
|
||||
};
|
||||
|
||||
enum InputStreamErrors
|
||||
{
|
||||
NO_STREAM_ERROR = 0,
|
||||
READING,
|
||||
LAST_FRAME,
|
||||
END_OF_SEQ,
|
||||
};
|
||||
|
||||
Bool open( QString filename, UInt width, UInt height, Int input_format, UInt frame_rate );
|
||||
Void close();
|
||||
|
||||
|
||||
Reference in new issue
Block a user