[vlc-commits] demux: ogg: update seekpoints info on new seekpoint	(fix #9333)
    Francois Cartegnie 
    git at videolan.org
       
    Fri Sep  6 22:07:10 CEST 2013
    
    
  
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Sep  6 22:02:12 2013 +0200| [12d92b9605a8366fb460af0bdc31f4957b78c3dc] | committer: Francois Cartegnie
demux: ogg: update seekpoints info on new seekpoint (fix #9333)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=12d92b9605a8366fb460af0bdc31f4957b78c3dc
---
 modules/demux/ogg.c |    2 ++
 1 file changed, 2 insertions(+)
diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index 7d9aa35..c07394f 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -573,6 +573,8 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
             int64_t i_block = p_sys->pp_seekpoints[i_seekpoint]->i_time_offset * p_sys->i_bitrate / INT64_C(8000000);
             if( stream_Seek( p_demux->s, i_block ) )
                 return VLC_EGENERIC;
+            p_demux->info.i_update |= INPUT_UPDATE_SEEKPOINT;
+            p_demux->info.i_seekpoint = i_seekpoint;
             return VLC_SUCCESS;
         }
 
    
    
More information about the vlc-commits
mailing list