examples: Add support for DVB Bouquet Name parsing

This commit is contained in:
Edward Hervey 2014-05-26 11:55:31 +02:00
parent 42c061b0e7
commit 8d71ec9f38

View file

@ -247,6 +247,16 @@ dump_descriptors (GPtrArray * descriptors, guint spacing)
case GST_MTS_DESC_DVB_CABLE_DELIVERY_SYSTEM:
dump_cable_delivery_descriptor (desc, spacing + 2);
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:
dump_logical_channel_descriptor (desc, spacing + 2);
break;