<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello. <br>
<br>
How can i force tsparse element to emit message with scte-35 splice
information table?<br>
<br>
ts-parser.c example from <br>
<br>
<a class="moz-txt-link-freetext" href="https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/mpegts/ts-parser.c">https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/mpegts/ts-parser.c</a><br>
<br>
does not returns scte message, but it should do it, doesn't it? I
thought this part of code should react on scte types:<br>
<br>
<pre><code>static const gchar *
table_id_name (gint val)
{
GEnumValue *en;
en = g_enum_get_value (G_ENUM_CLASS (g_type_class_peek
(GST_TYPE_MPEGTS_SECTION_TABLE_ID)), val);
if (en == NULL)
/* Else try with DVB enum types */
en = g_enum_get_value (G_ENUM_CLASS (g_type_class_peek
(GST_TYPE_MPEGTS_SECTION_DVB_TABLE_ID)), val);
if (en == NULL)
/* Else try with ATSC enum types */
en = g_enum_get_value (G_ENUM_CLASS (g_type_class_peek
(GST_TYPE_MPEGTS_SECTION_ATSC_TABLE_ID)), val);
if (en == NULL)
/* Else try with SCTE enum types */
en = g_enum_get_value (G_ENUM_CLASS (g_type_class_peek
(GST_TYPE_MPEGTS_SECTION_SCTE_TABLE_ID)), val);
if (en == NULL)
return "UNKNOWN/PRIVATE";
return en->value_nick;
}</code>
</pre>
<code></code><br>
<code>But it returns only pat's, pmt's and other types, but not
scte's.</code><br>
<code></code><br>
<code>Thank you.<br>
</code><br>
<br>
</body>
</html>