From 68c88f51fdf5fbb8d25e7473371bff263a119d55 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 25 Sep 2012 17:13:43 +0400 Subject: [PATCH] lib/libcoolstream/record_cs.h: update header Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/70836baa483f0aed9822291b12ed7ac33b8b0b86 Author: [CST] Focus Date: 2012-09-25 (Tue, 25 Sep 2012) --- lib/libcoolstream/record_cs.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/libcoolstream/record_cs.h b/lib/libcoolstream/record_cs.h index e139495f2..4ef6f3df0 100644 --- a/lib/libcoolstream/record_cs.h +++ b/lib/libcoolstream/record_cs.h @@ -14,6 +14,10 @@ class cRecordData; +#define REC_STATUS_OK 0 +#define REC_STATUS_SLOW 1 +#define REC_STATUS_OVERFLOW 2 + class cRecord { private: cRecordData * rd; @@ -29,6 +33,8 @@ public: bool Start(int fd, unsigned short vpid, unsigned short * apids, int numapids, uint64_t chid); bool Stop(void); bool AddPid(unsigned short pid); + int GetStatus(); + void ResetStatus(); }; #endif // __RECORD_CS_H_