[MPlayer-dev-eng] [PATCH] Read pts for VCD in demux_mpg.c

Nico Sabbi nicola_sabbi at fastwebnet.it
Tue Feb 27 21:28:38 CET 2007


Zuxy Meng wrote:

>      {
> @@ -195,7 +196,7 @@
>        float first_pts = read_first_mpeg_pts_at_position(demuxer, demuxer->movi_start);
>        if(first_pts != -1.0)
>        {
> -        float middle_pts = read_first_mpeg_pts_at_position(demuxer, (demuxer->movi_end - demuxer->movi_start)/2);
> +        float middle_pts = read_first_mpeg_pts_at_position(demuxer, (demuxer->movi_end + demuxer->movi_start)/2);
>          if(middle_pts != -1.0)
>          {
>            float final_pts = read_first_mpeg_pts_at_position(demuxer, demuxer->movi_end - TIMESTAMP_PROBE_LEN);
> 


committed this last part; as for the rest I'm still undecided

-- 
"Without a frontend, mplayer is useless" - someone in mplayer-users



More information about the MPlayer-dev-eng mailing list