mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
mpegtsdemux: FIXME/Comment about issues/errors
This commit is contained in:
parent
9e117b83fc
commit
d9121c38ea
2 changed files with 7 additions and 0 deletions
|
@ -1185,6 +1185,7 @@ mpegts_base_handle_psi (MpegTSBase * base, MpegTSPacketizerSection * section)
|
|||
case 0x6E:
|
||||
case 0x6F:
|
||||
/* EIT, schedule */
|
||||
/* FIXME : Can take up to 50% of total mpeg-ts demuxing cpu usage ! */
|
||||
structure = mpegts_packetizer_parse_eit (base->packetizer, section);
|
||||
if (G_LIKELY (structure))
|
||||
mpegts_base_apply_eit (base, section->pid, structure);
|
||||
|
@ -1426,6 +1427,10 @@ mpegts_base_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
|
|||
goto next;
|
||||
}
|
||||
|
||||
/* FIXME : Handle the case where we have multiple sections in one
|
||||
* packet !
|
||||
* See bug #677443
|
||||
*/
|
||||
/* base PSI data */
|
||||
if (packet.payload != NULL && mpegts_base_is_psi (base, &packet)) {
|
||||
MpegTSPacketizerSection section;
|
||||
|
|
|
@ -1686,6 +1686,7 @@ error:
|
|||
return NULL;
|
||||
}
|
||||
|
||||
/* FIXME : Can take up to 50% of total mpeg-ts demuxing cpu usage */
|
||||
GstStructure *
|
||||
mpegts_packetizer_parse_eit (MpegTSPacketizer2 * packetizer,
|
||||
MpegTSPacketizerSection * section)
|
||||
|
@ -2813,6 +2814,7 @@ convert_to_utf8 (const gchar * text, gint length, guint start,
|
|||
|
||||
text += start;
|
||||
|
||||
/* FIXME : GByteArray has a big overhead */
|
||||
sb = g_byte_array_sized_new (length * 1.1);
|
||||
|
||||
if (is_multibyte) {
|
||||
|
|
Loading…
Reference in a new issue