diff options
author | deva <deva> | 2006-08-25 21:20:07 +0000 |
---|---|---|
committer | deva <deva> | 2006-08-25 21:20:07 +0000 |
commit | 8196872e3b240ef93fc17dd3c05a7d97a8015d88 (patch) | |
tree | e531edeb1c7178a8e58170c84645ce8eb706624e /client/decoder.h | |
parent | 347b1d8ed3a4f780f3a5c0d57a04eab05ca517a2 (diff) |
Rearranged the network and socket code.origin
Added status messages sent over the network using udp packets.
Diffstat (limited to 'client/decoder.h')
-rw-r--r-- | client/decoder.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/client/decoder.h b/client/decoder.h index 99cdd58..50c0307 100644 --- a/client/decoder.h +++ b/client/decoder.h @@ -36,7 +36,12 @@ #include "dv.h" #include "networksender.h" -#include "status.h" +#include <vector> + +typedef struct { + double fps; + int queuelen; +} thread_status_t; class Decoder : public QThread { @@ -55,7 +60,7 @@ public: void pframeAcquire(); void pframeRelease(); - Status status(); + std::vector<thread_status_t> status(); protected: bool eventFilter(QObject *o, QEvent *e); |