diff src/recpt1.h @ 164:7d8a5bb874ad

EXPERIMENTAL: Change phisical channel by mq_recv(). KNOWN ISSUE: Cannnot split BS-TBS(BS1_1). enable compile recpt1ctl. SID can specified by recpt1ctl.
author Naoya OYAMA <naoya.oyama@gmail.com>
date Mon, 01 Oct 2012 21:52:05 +0900
parents 5d010d0ff6a1
children 4f3640bf350d
line wrap: on
line diff
--- a/src/recpt1.h	Mon Sep 24 20:49:17 2012 +0900
+++ b/src/recpt1.h	Mon Oct 01 21:52:05 2012 +0900
@@ -85,7 +85,7 @@
     QUEUE_T *stream_queue;
     decoder *decoder;
     decoder_options *dopt;
-    int ch;
+    char ch[16];   /* channel is one of the following. Number, C00, BS0_0, CS0 */
     int lnb;    /* LNB voltage */
     int tfd;    /* tuner fd */
     int wfd;    /* output file fd */
@@ -99,6 +99,8 @@
     int msqid;
     splitter *splitter;
     streamer *streamer;
+    char sid_list[256];
+    pthread_mutex_t splitter_mutex;
 } thread_data;
 
 struct channel_info {