Browse Source

camd: Fix threaded check.

Georgi Chorbadzhiyski 12 years ago
parent
commit
d63e496fd0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      camd.c

+ 1
- 1
camd.c View File

@@ -237,7 +237,7 @@ void camd_start(struct ts *ts) {
237 237
 	struct camd *c = &ts->camd;
238 238
 	c->ops.connect(c);
239 239
 	// The input is not file, process messages using async thread
240
-	if (!(ts->input.type == FILE_IO && ts->input.fd != 0)) {
240
+	if (ts->threaded) {
241 241
 		c->req_queue = queue_new();
242 242
 		c->ecm_queue = queue_new();
243 243
 		c->emm_queue = queue_new();

Loading…
Cancel
Save