summaryrefslogtreecommitdiff
path: root/tools/ts.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ts.h')
-rw-r--r--tools/ts.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/ts.h b/tools/ts.h
index e193a301..ca5ec516 100644
--- a/tools/ts.h
+++ b/tools/ts.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: ts.h,v 1.10 2009-06-29 15:47:44 phintuka Exp $
+ * $Id: ts.h,v 1.11 2009-07-03 05:37:05 phintuka Exp $
*
*/
@@ -137,6 +137,12 @@ typedef struct {
*/
int ts_parse_pmt(pmt_data_t *pmt, uint program_no, const uint8_t *ts_data);
+/*
+ * PCR
+ */
+
+int64_t ts_get_pcr(const uint8_t *data);
+int ts_get_pcr_n(const uint8_t *pkt, int npkt, int64_t *pcr);
/*
* TS->ES, simple ES parsers
@@ -153,7 +159,6 @@ int64_t ts_get_pts(ts_state_t *ts, const uint8_t *data);
int ts_get_picture_type(ts_state_t *ts, const uint8_t *data, int h264);
int ts_get_video_size(ts_state_t *ts, const uint8_t *data, struct video_size_s *size, int h264);
-int64_t ts_get_pcr(const uint8_t *data);
#ifdef __cplusplus
} /* extern "C" { */