diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-06-05 10:48:52 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-06-05 20:23:44 +0200 |
commit | 22496517e0f8a25202c42659c2720a5924275ab5 (patch) | |
tree | 61660118b3cc7e5e9be0333edfd63b3ce84aa139 | |
parent | c4ef659ebd9b6360fe2c4e23374ba4484617fd8b (diff) | |
download | gst-plugins-bad-22496517e0f8a25202c42659c2720a5924275ab5.tar.gz gst-plugins-bad-22496517e0f8a25202c42659c2720a5924275ab5.tar.bz2 gst-plugins-bad-22496517e0f8a25202c42659c2720a5924275ab5.zip |
mpegtsdemux: Fix HDV private stream definition/caps.
-rw-r--r-- | gst/mpegdemux/gstmpegdefs.h | 9 | ||||
-rw-r--r-- | gst/mpegdemux/gstmpegtsdemux.c | 8 |
2 files changed, 11 insertions, 6 deletions
diff --git a/gst/mpegdemux/gstmpegdefs.h b/gst/mpegdemux/gstmpegdefs.h index 7ad1e25c..375f1dc0 100644 --- a/gst/mpegdemux/gstmpegdefs.h +++ b/gst/mpegdemux/gstmpegdefs.h @@ -170,12 +170,17 @@ #define ST_PS_AUDIO_AC3 0x81 #define ST_PS_AUDIO_DTS 0x8a #define ST_PS_AUDIO_LPCM 0x8b -#define ST_HDV_PRIVATE_A0 0xa0 -#define ST_HDV_PRIVATE_A1 0xa1 #define ST_PS_DVD_SUBPICTURE 0xff /* Blu-ray PGS subpictures */ #define ST_BD_PGS_SUBPICTURE 0x90 +/* HDV AUX stream mapping + * 0xA0 ISO/IEC 61834-11 + * 0xA1 ISO/IEC 61834-11 + */ +#define ST_HDV_AUX_A 0xa0 +#define ST_HDV_AUX_V 0xa1 + /* Un-official time-code stream */ #define ST_PS_TIMECODE 0xd2 diff --git a/gst/mpegdemux/gstmpegtsdemux.c b/gst/mpegdemux/gstmpegtsdemux.c index 81f263ee..cb082a2b 100644 --- a/gst/mpegdemux/gstmpegtsdemux.c +++ b/gst/mpegdemux/gstmpegtsdemux.c @@ -634,15 +634,15 @@ gst_mpegts_demux_fill_stream (GstMpegTSStream * stream, guint8 id, caps = gst_caps_new_simple ("private/teletext", NULL); } break; - case ST_HDV_PRIVATE_A0: + case ST_HDV_AUX_V: template = klass->private_template; name = g_strdup_printf ("private_%04x", stream->PID); - caps = gst_caps_new_simple ("private/hdv-a0", NULL); + caps = gst_caps_new_simple ("hdv/aux-v", NULL); break; - case ST_HDV_PRIVATE_A1: + case ST_HDV_AUX_A: template = klass->private_template; name = g_strdup_printf ("private_%04x", stream->PID); - caps = gst_caps_new_simple ("private/hdv-a1", NULL); + caps = gst_caps_new_simple ("hdv/aux-a", NULL); break; case ST_PRIVATE_SECTIONS: case ST_MHEG: |