summaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/frame.h b/src/frame.h
index 8734924..3300fff 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -31,6 +31,11 @@
/*
* $Log$
+ * Revision 1.8 2005/06/16 21:28:57 deva
+ * Rewrote thread object
+ * Fixed bug in mov_encoder (pushed read_sem too many times, whihc lead to
+ * growing server queue)
+ *
* Revision 1.7 2005/05/25 13:11:42 deva
*
* Made unfreeze close connection, when no recording is done.
@@ -63,13 +68,6 @@ public:
Frame(unsigned char *d, int sz);
~Frame();
- /*
- // Smaller frame number is higher priority
- bool operator<(const Frame& f) const {
- return number > f.number;
- }
- */
-
unsigned char *data;
int size;
@@ -82,6 +80,7 @@ public:
#include <functional>
+// Method for use, when comparing Frames in priority queue.
template <typename T>
struct frame_priority : std::binary_function<T, T, bool> {
bool operator() (const T& a, const T& b) const {