[libdvbpsi-devel] PMT on multiple packet

Jean-Paul Saman jpsaman at gmail.com
Sat Oct 29 10:47:20 CEST 2011


2011/10/26 Paul Fariello <paul.fariello at gmail.com>:
> Hi all,
>
> I'm wondering if libdvbpsi can handle a PMT which is sent over multiple TS
> packet.
>
> As far as I understand libdvbpsi and the example, it seems that's on us to
> concatenate the multipile packet to give it to the decoder.
> If I'm right, what's, on your opinion, the best way to detect that a pmt
> will be sent over multiple packet ?

libdvbpsi sends the PMT callback only when all sections of the table
have arrived. So yes it can handle a PMT section divided over multiple
packets.
There is no need to concatenate these packets yourself.

Kind regards,

Jean-Paul Saman


More information about the libdvbpsi-devel mailing list