mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
tsdemux: Add descriptors for SMPTE 302m audio
This commit is contained in:
parent
7df753165f
commit
a19c0b5697
2 changed files with 6 additions and 0 deletions
|
@ -340,6 +340,7 @@
|
|||
#define DRF_ID_DTS1 0x44545331
|
||||
#define DRF_ID_DTS2 0x44545332
|
||||
#define DRF_ID_DTS3 0x44545333
|
||||
#define DRF_ID_S302M 0x42535344
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
|
|
@ -772,6 +772,11 @@ create_pad_for_stream (MpegTSBase * base, MpegTSBaseStream * bstream,
|
|||
name = g_strdup_printf ("private_%04x", bstream->pid);
|
||||
caps = gst_caps_new_empty_simple ("audio/x-dts");
|
||||
break;
|
||||
case DRF_ID_S302M:
|
||||
template = gst_static_pad_template_get (&audio_template);
|
||||
name = g_strdup_printf ("audio_%04x", bstream->pid);
|
||||
caps = gst_caps_new_empty_simple ("audio/x-smpte-302m");
|
||||
break;
|
||||
}
|
||||
g_free (desc);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue