mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
examples: Add support for DVB Bouquet Name parsing
This commit is contained in:
parent
42c061b0e7
commit
8d71ec9f38
1 changed files with 10 additions and 0 deletions
|
@ -247,6 +247,16 @@ dump_descriptors (GPtrArray * descriptors, guint spacing)
|
||||||
case GST_MTS_DESC_DVB_CABLE_DELIVERY_SYSTEM:
|
case GST_MTS_DESC_DVB_CABLE_DELIVERY_SYSTEM:
|
||||||
dump_cable_delivery_descriptor (desc, spacing + 2);
|
dump_cable_delivery_descriptor (desc, spacing + 2);
|
||||||
break;
|
break;
|
||||||
|
case GST_MTS_DESC_DVB_BOUQUET_NAME:
|
||||||
|
{
|
||||||
|
gchar *bouquet_name;
|
||||||
|
if (gst_mpegts_descriptor_parse_dvb_bouquet_name (desc, &bouquet_name)) {
|
||||||
|
g_printf ("%*s Bouquet Name Descriptor, bouquet_name:%s\n", spacing,
|
||||||
|
"", bouquet_name);
|
||||||
|
g_free (bouquet_name);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
case GST_MTS_DESC_DTG_LOGICAL_CHANNEL:
|
case GST_MTS_DESC_DTG_LOGICAL_CHANNEL:
|
||||||
dump_logical_channel_descriptor (desc, spacing + 2);
|
dump_logical_channel_descriptor (desc, spacing + 2);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue