[vlc-devel] [PATCH 1/3] mkv: do not reset the i_start_time after a seek was initiated

Jean-Baptiste Kempf jb at videolan.org
Thu Mar 17 16:59:18 CET 2016


3 applied.

On 17 Mar, Steve Lhomme wrote :
> ---
>  modules/demux/mkv/virtual_segment.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/modules/demux/mkv/virtual_segment.cpp b/modules/demux/mkv/virtual_segment.cpp
> index 6d909d1..90050fc 100644
> --- a/modules/demux/mkv/virtual_segment.cpp
> +++ b/modules/demux/mkv/virtual_segment.cpp
> @@ -459,8 +459,8 @@ bool virtual_segment_c::UpdateCurrentToChapter( demux_t & demux )
>                          Seek( demux, p_cur_vchapter->i_mk_virtual_start_time, p_cur_vchapter, -1 );
>                          return true;
>                      }
> +                    sys.i_start_pts = p_cur_vchapter->i_mk_virtual_start_time + VLC_TS_0;
>                  }
> -                sys.i_start_pts = p_cur_vchapter->i_mk_virtual_start_time + VLC_TS_0;
>              }
>  
>              p_current_vchapter = p_cur_vchapter;
> -- 
> 2.7.1
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the vlc-devel mailing list