<html><head></head><body>Hi,<br><br>I can't relate the patch to its description. Maybe a double negation is missing?<br><br><div class="gmail_quote">Le 31 juillet 2019 12:20:32 GMT+03:00, "Hugo Beauzée-Luyssen" <hugo@beauzee.fr> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Otherwise the title is not "ready" and we can't seek in it until a few<br>more blocks are demuxed<hr> modules/access/dvdnav.c | 18 ------------------<br> 1 file changed, 18 deletions(-)<br><br>diff --git a/modules/access/dvdnav.c b/modules/access/dvdnav.c<br>index 4c240ecda5..1cbf2a40a2 100644<br>--- a/modules/access/dvdnav.c<br>+++ b/modules/access/dvdnav.c<br>@@ -628,10 +628,6 @@ static int Control( demux_t *p_demux, int i_query, va_list args )<br> return VLC_EGENERIC;<br> }<br> }<br>-<br>- p_sys->updates |= INPUT_UPDATE_TITLE | INPUT_UPDATE_SEEKPOINT;<br>- p_sys->cur_title = i;<br>- p_sys->cur_seekpoint = 0;<br> RandomAccessCleanup( p_sys );<br> return VLC_SUCCESS;<br> <br>@@ -934,9 +930,6 @@ static int Demux( demux_t *p_demux )<br> <br> case DVDNAV_VTS_CHANGE:<br> {<br>- int32_t i_title = 0;<br>- int32_t i_part = 0;<br>-<br> dvdnav_vts_change_event_t *event = (dvdnav_vts_change_event_t*)packet;<br> msg_Dbg( p_demux, "DVDNAV_VTS_CHANGE" );<br> msg_Dbg( p_demux, " - vtsN=%d", event->new_vtsN );<br>@@ -985,17 +978,6 @@ static int Demux( demux_t *p_demux )<br> p_sys->sar.i_den = 0;<br> break;<br> }<br>-<br>- if( dvdnav_current_title_info( p_sys->dvdnav, &i_title,<br>- &i_part ) == DVDNAV_STATUS_OK )<br>- {<br>- if( i_title >= 0 && i_title < p_sys->i_title &&<br>- p_sys->cur_title != i_title )<br>- {<br>- p_sys->updates |= INPUT_UPDATE_TITLE;<br>- p_sys->cur_title = i_title;<br>- }<br>- }<br> break;<br> }<br> </pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>