FIXED: DVB freeze when New PAT received

Marian Durkovic <[email protected]>
Newsgroups gmane.comp.video.videolan.vls.devel
Message-ID <[email protected]>
Hi all,

> weather. The VLS starts to print wrong checksums and discontinuities
> which is OK, but sometimes it prints
> a "New PAT" message in the middle of streaming.
>
>   This New PAT however means that the whole server freezes, no more
> stream goes to the network and it's only possible to do a kill -9 on the
> vls process.

  I've found the reason for this: in the function OnDvbPsiPatEvent located
in src/modules/dvbinput there's the following code:

    // Kludge: signal the first PAT arrival.
    m_cEndInit.Protect();
    m_cEndInit.Signal();

The call to Protect() never returns and blocks whole vls in case "New PAT" is 
printed the second time in the middle of streaming. Looks like commenting it
out helps, although it might not be the correct solution.


	With kind regards,

		M.


--------------------------------------------------------------------------
----                                                                  ----
----   Marian Durkovic                       network  manager         ----
----                                                                  ----
----   Slovak Technical University           Tel: +421 2 524 51 301   ----
----   Computer Centre, Nam. Slobody 17      Fax: +421 2 524 94 351   ----
----   812 43 Bratislava, Slovak Republic    E-mail: [email protected]        ----
----                                                                  ----
--------------------------------------------------------------------------
-- 
This is the vls-devel mailing-list, see http://www.videolan.org/vls-devel/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.