Normal
Yes, the length field in the packet header declares a small size (e.g. 10 bytes).Looking at the data the bytes declared by the length have data and the rest is padded by zeros.I assume this packets are used to signal a special overlay icon on the DVB receiver.anyway since the original code calculation always expects a packet longer than 188 bytes (which is usually the case for subtitle frames) the comparison in the code bellow will never get true:[code]if ( m_iPesLength == m_iWritePos ) // we have the expected data[/CODE]
Yes, the length field in the packet header declares a small size (e.g. 10 bytes).
Looking at the data the bytes declared by the length have data and the rest is padded by zeros.
I assume this packets are used to signal a special overlay icon on the DVB receiver.
anyway since the original code calculation always expects a packet longer than 188 bytes (which is usually the case for subtitle frames) the comparison in the code bellow will never get true:
[code]if ( m_iPesLength == m_iWritePos ) // we have the expected data[/CODE]