mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 12:02:27 +00:00
mpegtsdemux: Add mapping for HDV private streams
This commit is contained in:
parent
46b4d226ca
commit
f92f282874
2 changed files with 12 additions and 0 deletions
|
@ -170,6 +170,8 @@
|
|||
#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
|
||||
|
||||
/* Un-official time-code stream */
|
||||
|
|
|
@ -620,6 +620,16 @@ gst_mpegts_demux_fill_stream (GstMpegTSStream * stream, guint8 id,
|
|||
caps = gst_caps_new_simple ("private/teletext", NULL);
|
||||
}
|
||||
break;
|
||||
case ST_HDV_PRIVATE_A0:
|
||||
template = klass->private_template;
|
||||
name = g_strdup_printf ("private_%04x", stream->PID);
|
||||
caps = gst_caps_new_simple ("private/hdv-a0", NULL);
|
||||
break;
|
||||
case ST_HDV_PRIVATE_A1:
|
||||
template = klass->private_template;
|
||||
name = g_strdup_printf ("private_%04x", stream->PID);
|
||||
caps = gst_caps_new_simple ("private/hdv-a1", NULL);
|
||||
break;
|
||||
case ST_PRIVATE_SECTIONS:
|
||||
case ST_MHEG:
|
||||
case ST_DSMCC:
|
||||
|
|
Loading…
Reference in a new issue