Re: PMT on multiple packet
Paul Fariello <[email protected]>
| Newsgroups | gmane.comp.video.videolan.libdvbpsi.devel |
|---|---|
| Message-ID | <CABkuhr922pHcMDT6zVx22MzJKFOqJXfsfN-_ycxHpU3k9ME1aA@mail.gmail.com> |
Thanks for the answer. However, I'm still having trouble with the pmt decoder. I'm trying to parse a dvb-t stream. When I receive a PMT on two sections the callback is never triggered. Parsing is stopped in dvbpsi.c. More precisely : I received the first section, which is correctly stored in h_dvbpsi->p_current_section. Then on second section, p_current_section is setted to NULL because of discontinuity flag which is always setted to 1. The workaround I found is to force discontinuity flag to 0 when I received a new section and the decoder needs it. Regards, On Sat, Oct 29, 2011 at 10:47, Jean-Paul Saman <[email protected]> wrote: > 2011/10/26 Paul Fariello <[email protected]>: > > 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 > -- Paul Fariello Étudiant ingénieur à l'Université de Technologie de Troyes [email protected] [email protected] _______________________________________________ libdvbpsi-devel mailing list [email protected] http://mailman.videolan.org/listinfo/libdvbpsi-devel