summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorphintuka <phintuka>2013-01-06 21:20:11 +0000
committerphintuka <phintuka>2013-01-06 21:20:11 +0000
commit404440f16f2e0cacf8fa703c3c43b7442a55d533 (patch)
tree6c5ce55d83967d0c1e48650ddd0ac10a6c9dcba1 /tools
parentce77c03ed8b315ed9922e870882fb5ad1a0b296f (diff)
downloadxineliboutput-404440f16f2e0cacf8fa703c3c43b7442a55d533.tar.gz
xineliboutput-404440f16f2e0cacf8fa703c3c43b7442a55d533.tar.bz2
Support VC1 in mpeg-ts
Diffstat (limited to 'tools')
-rw-r--r--tools/ts.c3
-rw-r--r--tools/ts.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/tools/ts.c b/tools/ts.c
index 0122e2e9..6f5ef5aa 100644
--- a/tools/ts.c
+++ b/tools/ts.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: ts.c,v 1.30 2012-12-31 16:44:27 phintuka Exp $
+ * $Id: ts.c,v 1.31 2013-01-06 21:20:11 phintuka Exp $
*
*/
@@ -409,6 +409,7 @@ int ts_parse_pmt (pmt_data_t *pmt, uint program_no, const uint8_t *pkt)
case ISO_13818_VIDEO:
case ISO_14496_PART2_VIDEO:
case ISO_14496_PART10_VIDEO:
+ case STREAM_VIDEO_VC1:
LOGPMT("parse_pmt: video pid 0x%.4x type %2.2x", pid, stream[0]);
if (pmt->video_pid == INVALID_PID) {
pmt->video_pid = pid;
diff --git a/tools/ts.h b/tools/ts.h
index 5fccec6b..4eaaa41d 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.17 2010-07-19 13:12:07 phintuka Exp $
+ * $Id: ts.h,v 1.18 2013-01-06 21:20:11 phintuka Exp $
*
*/
@@ -77,6 +77,8 @@ typedef enum {
STREAM_VIDEO_MPEG = 0x80,
STREAM_AUDIO_AC3 = 0x81,
+ STREAM_VIDEO_VC1 = 0xea,
+
/* private streams, payload type detected from PMT stream descriptor tag */
STREAM_AUDIO_EAC3 = 0x7a06, // ISO_13818_PES_PRIVATE | (STREAM_DESCR_EAC3 << 8)