[Git][videolan/libdvbpsi][master] Fix needing 3 sections instead of 2 to call EIT callback
"Jean-Paul Saman (@jpsaman)" <[email protected]> Sun, 29 Aug 2021 13:41:30 +0200
| Newsgroups | gmane.comp.video.videolan.libdvbpsi.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============2748024121113604907==
Content-Type: multipart/alternative;
boundary="--==_mimepart_612b726add14b_5b2d2b43069747b";
charset=UTF-8
Content-Transfer-Encoding: 7bit
----==_mimepart_612b726add14b_5b2d2b43069747b
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Jean-Paul Saman pushed to branch master at VideoLAN / libdvbpsi
Commits:
d3792daa by Frederic Cand at 2021-08-12T10:42:59+02:00
Fix needing 3 sections instead of 2 to call EIT callback
- - - - -
1 changed file:
- src/tables/eit.c
Changes:
=====================================
src/tables/eit.c
=====================================
@@ -473,8 +473,6 @@ void dvbpsi_eit_sections_gather(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t *p_sect
}
}
- bool b_complete = dvbpsi_IsCompleteEIT(p_eit_decoder, p_section);
-
/* Add section to EIT */
if (!dvbpsi_AddSectionEIT(p_dvbpsi, p_eit_decoder, p_section))
{
@@ -485,7 +483,7 @@ void dvbpsi_eit_sections_gather(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t *p_sect
}
/* Check if we have all the sections */
- if (b_complete)
+ if (dvbpsi_IsCompleteEIT(p_eit_decoder, p_section))
{
assert(p_eit_decoder->pf_eit_callback);
View it on GitLab: https://code.videolan.org/videolan/libdvbpsi/-/commit/d3792daa31d61c71b248e3b1a0a63f7fb05a2380
--
View it on GitLab: https://code.videolan.org/videolan/libdvbpsi/-/commit/d3792daa31d61c71b248e3b1a0a63f7fb05a2380
You're receiving this email because of your account on code.videolan.org.
----==_mimepart_612b726add14b_5b2d2b43069747b--
--===============2748024121113604907==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGliZHZicHNp
LWRldmVsIG1haWxpbmcgbGlzdApsaWJkdmJwc2ktZGV2ZWxAdmlkZW9sYW4ub3JnCmh0dHBzOi8v
bWFpbG1hbi52aWRlb2xhbi5vcmcvbGlzdGluZm8vbGliZHZicHNpLWRldmVsCg==
--===============2748024121113604907==--