Commit bddeded3 authored by Christophe Massiot's avatar Christophe Massiot

* src/dvbpsi.c: Fixed drop of first packet when gathering sections.

parent 5f9ca8d4
......@@ -68,7 +68,8 @@ void dvbpsi_PushPacket(dvbpsi_handle h_dvbpsi, uint8_t* p_data)
i_expected_counter = (h_dvbpsi->i_continuity_counter + 1) & 0xf;
h_dvbpsi->i_continuity_counter = p_data[3] & 0xf;
if(i_expected_counter == ((h_dvbpsi->i_continuity_counter + 1) & 0xf))
if(i_expected_counter == ((h_dvbpsi->i_continuity_counter + 1) & 0xf)
&& !h_dvbpsi->b_discontinuity)
{
DVBPSI_ERROR_ARG("PSI decoder",
"TS duplicate (received %d, expected %d) for PID %d",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment