[MPlayer-users] possible bug in demux_ts when seek?

Nico Sabbi Nicola.Sabbi at poste.it
Tue May 6 10:13:37 CEST 2008


On Tuesday 06 May 2008 09:31:05 you wrote:
> Hello,
>
> I found when seek previous on a .ts file, the pts will have still
> got old value after the reset action
> here's pts values when the 'update_subtitles' function get called:
>
> v_pts=6.881, timer=5.923 reset=0   0.041 142/142 47% 17%  2.5% 1 0
> v_pts=6.923, timer=5.964 reset=0   0.042 143/143 48% 17%  2.5% 1 0
> v_pts=6.964, timer=6.006 reset=0   0.042 144/144 48% 17%  2.5% 1 0
> v_pts=7.006, timer=6.048 reset=0   0.043 145/145 48% 17%  2.5% 1 0
> v_pts=3.878, timer=0.000 reset=1   0.043 146/146 48% 18%  2.5% 1 0
> v_pts=7.131, timer=0.042 reset=0
> v_pts=3.794, timer=0.083 reset=0  -0.100 147/147 ??% ??% ??,?% 0 0
> v_pts=3.836, timer=0.125 reset=0  -0.096 148/148 ??% ??% ??,?% 0 0
> v_pts=3.878, timer=0.167 reset=0  -0.092 149/149 ??% ??% ??,?% 0 0
> v_pts=3.920, timer=0.209 reset=0  -0.087 150/150 ??% ??% ??,?% 0 0
> v_pts=3.961, timer=0.250 reset=0  -0.083 151/151 ??% ??% ??,?% 0 0
>
> the one call just after the 'reset' point should not like it, the
> pts 7.131 should not be there, right? please check it.
> here's the sample file:
>
> incoming/ts_prev_seek_bug/prev_seek_bug.ts

IIRC at seek I call ds_free_packs() and reset all buffered packets,
but a bug may still be hiding. I'll give a look at that sample one of
these days.

p.s. please don't cc



More information about the MPlayer-users mailing list