Skip to content
Browse files

record: Removed captured queue as its no longer used.

  • Loading branch information...
1 parent ab15077 commit 9d0cc95b420eaf8d6169f5d551c99b77dc6391dc @pedwo pedwo committed Jun 17, 2010
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/tools/shcodecs-record.c
View
5 src/tools/shcodecs-record.c
@@ -72,7 +72,6 @@ struct camera_data {
int captured_frames;
pthread_t capture_thread;
- struct Queue * captured_queue;
struct framerate * cap_framerate;
};
@@ -472,10 +471,6 @@ int main(int argc, char *argv[])
}
for (i=0; i < pvt->nr_cameras; i++) {
- /* Initialize the queues */
- pvt->cameras[i].captured_queue = queue_init();
- queue_limit (pvt->cameras[i].captured_queue, NUM_CAPTURE_BUFS);
-
/* Camera capture initialisation */
pvt->cameras[i].ceu = capture_open_userio(pvt->cameras[i].devicename, pvt->cameras[i].cap_w, pvt->cameras[i].cap_h, pvt->uiomux);
if (pvt->cameras[i].ceu == NULL) {

0 comments on commit 9d0cc95

Please sign in to comment.
Something went wrong with that request. Please try again.