mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
mpegtsdemux: Handle eac3 in PMT
When the stream type is set to private data, gst-mpegtsdemux is trying to find audio descriptors in PMT and look for AC3 (tag 0x6a) but doesn't look for EAC3 (tag 0x7a). Handle this case too. Fixes bug #605904.
This commit is contained in:
parent
52f5f42da0
commit
24965dc415
1 changed files with 4 additions and 0 deletions
|
@ -660,6 +660,10 @@ gst_mpegts_demux_fill_stream (GstMpegTSStream * stream, guint8 id,
|
|||
template = klass->audio_template;
|
||||
name = g_strdup_printf ("audio_%04x", stream->PID);
|
||||
caps = gst_caps_new_simple ("audio/x-ac3", NULL);
|
||||
} else if (gst_mpeg_descriptor_find (stream->ES_info, DESC_DVB_ENHANCED_AC3)) {
|
||||
template = klass->private_template;
|
||||
name = g_strdup_printf ("audio_%04x", stream->PID);
|
||||
caps = gst_caps_new_simple ("audio/x-eac3", NULL);
|
||||
} else if (gst_mpeg_descriptor_find (stream->ES_info, DESC_DVB_TELETEXT)) {
|
||||
template = klass->private_template;
|
||||
name = g_strdup_printf ("private_%04x", stream->PID);
|
||||
|
|
Loading…
Reference in a new issue