From bf046719a2530ab889b387cfee962d7b746e46fa Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Mon, 21 Feb 2011 11:42:54 +0100 Subject: [PATCH] mpegtsdemux: add stream types for DSM CC A, B, C, D --- gst/mpegtsdemux/gstmpegdefs.h | 5 +++++ gst/mpegtsdemux/tsdemux.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gst/mpegtsdemux/gstmpegdefs.h b/gst/mpegtsdemux/gstmpegdefs.h index 268234f25c..60ab5800a1 100644 --- a/gst/mpegtsdemux/gstmpegdefs.h +++ b/gst/mpegtsdemux/gstmpegdefs.h @@ -141,6 +141,11 @@ #define ST_DSMCC 0x08 #define ST_H222_1 0x09 +#define ST_DSMCC_A 0x0a +#define ST_DSMCC_B 0x0b +#define ST_DSMCC_C 0x0c +#define ST_DSMCC_D 0x0d + /* later extensions */ #define ST_AUDIO_AAC 0x0f #define ST_VIDEO_MPEG4 0x10 diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c index 97dd3802bf..0220ea4805 100644 --- a/gst/mpegtsdemux/tsdemux.c +++ b/gst/mpegtsdemux/tsdemux.c @@ -526,6 +526,10 @@ create_pad_for_stream (GstTSDemux * demux, MpegTSBaseStream * bstream, case ST_PRIVATE_SECTIONS: case ST_MHEG: case ST_DSMCC: + case ST_DSMCC_A: + case ST_DSMCC_B: + case ST_DSMCC_C: + case ST_DSMCC_D: break; case ST_AUDIO_AAC: template = gst_static_pad_template_get (&audio_template);