comparison 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
comparison
equal deleted inserted replaced
163:57eae2aec60d 164:7d8a5bb874ad
83 typedef struct thread_data { 83 typedef struct thread_data {
84 QUEUE_T *queue; 84 QUEUE_T *queue;
85 QUEUE_T *stream_queue; 85 QUEUE_T *stream_queue;
86 decoder *decoder; 86 decoder *decoder;
87 decoder_options *dopt; 87 decoder_options *dopt;
88 int ch; 88 char ch[16]; /* channel is one of the following. Number, C00, BS0_0, CS0 */
89 int lnb; /* LNB voltage */ 89 int lnb; /* LNB voltage */
90 int tfd; /* tuner fd */ 90 int tfd; /* tuner fd */
91 int wfd; /* output file fd */ 91 int wfd; /* output file fd */
92 int device_id; /* /dev/pt1video[N] */ 92 int device_id; /* /dev/pt1video[N] */
93 ISDB_T_FREQ_CONV_TABLE *table; 93 ISDB_T_FREQ_CONV_TABLE *table;
97 time_t start_time; 97 time_t start_time;
98 boolean indefinite; 98 boolean indefinite;
99 int msqid; 99 int msqid;
100 splitter *splitter; 100 splitter *splitter;
101 streamer *streamer; 101 streamer *streamer;
102 char sid_list[256];
103 pthread_mutex_t splitter_mutex;
102 } thread_data; 104 } thread_data;
103 105
104 struct channel_info { 106 struct channel_info {
105 int id; 107 int id;
106 char *sid; 108 char *sid;