diff recpt1/tssplitter_lite.h @ 100:aeba1988234f

support macros to specify sid: - macros: hd, sd1, sd2, sd3, 1seg and all are supported. - if sid has been specified but no suitable sid found, fall back to "all". technical summary: - use splitter structure as the argument where it is applicable. - add tab configuration to some source files.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sat, 13 Feb 2010 19:43:25 +0900
parents 3a3f15b063e1
children 8e0f7191b92e
line wrap: on
line diff
--- a/recpt1/tssplitter_lite.h	Fri Feb 12 21:40:21 2010 +0900
+++ b/recpt1/tssplitter_lite.h	Sat Feb 13 19:43:25 2010 +0900
@@ -1,3 +1,4 @@
+/* -*- tab-width: 4; indent-tabs-mode: t -*- */
 /* tssplitter_lite.h  -- split TS stream program's header.
 
    Copyright 2009 querulous
@@ -44,8 +45,10 @@
 	unsigned char*	pat;
 	char**			sid_list;
 	unsigned char	pat_count;
-	int pmt_remain;
+	int pmt_retain;
 	int pmt_counter;
+	int avail_pmts[MAX_SERVICES];
+	int num_pmts;
 } splitter;
 
 /* b25 decoder would hoard up large chank */