mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
mpegtsparse: add component tag to structure for component message
This commit is contained in:
parent
aace8e130f
commit
1a6cd35c50
1 changed files with 4 additions and 2 deletions
|
@ -1787,7 +1787,8 @@ mpegts_packetizer_parse_eit (MpegTSPacketizer * packetizer,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
component = gst_structure_new ("audio", "type", G_TYPE_STRING,
|
component = gst_structure_new ("audio", "type", G_TYPE_STRING,
|
||||||
comptype, NULL);
|
comptype, "tag", G_TYPE_INT,
|
||||||
|
DESC_DVB_COMPONENT_tag (comp_descriptor), NULL);
|
||||||
break;
|
break;
|
||||||
case 0x03: /* subtitles/teletext/vbi */
|
case 0x03: /* subtitles/teletext/vbi */
|
||||||
comptype = "reserved";
|
comptype = "reserved";
|
||||||
|
@ -1827,7 +1828,8 @@ mpegts_packetizer_parse_eit (MpegTSPacketizer * packetizer,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
component = gst_structure_new ("teletext", "type", G_TYPE_STRING,
|
component = gst_structure_new ("teletext", "type", G_TYPE_STRING,
|
||||||
comptype, NULL);
|
comptype, "tag", G_TYPE_INT,
|
||||||
|
DESC_DVB_COMPONENT_tag (comp_descriptor), NULL);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (component) {
|
if (component) {
|
||||||
|
|
Loading…
Reference in a new issue