mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
mpegtsdemux: Fix HDV private stream definition/caps.
This commit is contained in:
parent
c4ef659ebd
commit
22496517e0
2 changed files with 11 additions and 6 deletions
|
@ -170,12 +170,17 @@
|
||||||
#define ST_PS_AUDIO_AC3 0x81
|
#define ST_PS_AUDIO_AC3 0x81
|
||||||
#define ST_PS_AUDIO_DTS 0x8a
|
#define ST_PS_AUDIO_DTS 0x8a
|
||||||
#define ST_PS_AUDIO_LPCM 0x8b
|
#define ST_PS_AUDIO_LPCM 0x8b
|
||||||
#define ST_HDV_PRIVATE_A0 0xa0
|
|
||||||
#define ST_HDV_PRIVATE_A1 0xa1
|
|
||||||
#define ST_PS_DVD_SUBPICTURE 0xff
|
#define ST_PS_DVD_SUBPICTURE 0xff
|
||||||
/* Blu-ray PGS subpictures */
|
/* Blu-ray PGS subpictures */
|
||||||
#define ST_BD_PGS_SUBPICTURE 0x90
|
#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 */
|
/* Un-official time-code stream */
|
||||||
#define ST_PS_TIMECODE 0xd2
|
#define ST_PS_TIMECODE 0xd2
|
||||||
|
|
||||||
|
|
|
@ -634,15 +634,15 @@ gst_mpegts_demux_fill_stream (GstMpegTSStream * stream, guint8 id,
|
||||||
caps = gst_caps_new_simple ("private/teletext", NULL);
|
caps = gst_caps_new_simple ("private/teletext", NULL);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case ST_HDV_PRIVATE_A0:
|
case ST_HDV_AUX_V:
|
||||||
template = klass->private_template;
|
template = klass->private_template;
|
||||||
name = g_strdup_printf ("private_%04x", stream->PID);
|
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;
|
break;
|
||||||
case ST_HDV_PRIVATE_A1:
|
case ST_HDV_AUX_A:
|
||||||
template = klass->private_template;
|
template = klass->private_template;
|
||||||
name = g_strdup_printf ("private_%04x", stream->PID);
|
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;
|
break;
|
||||||
case ST_PRIVATE_SECTIONS:
|
case ST_PRIVATE_SECTIONS:
|
||||||
case ST_MHEG:
|
case ST_MHEG:
|
||||||
|
|
Loading…
Reference in a new issue