[MPlayer-dev-eng] [PATCH] Revert seeking

Arpi arpi at thot.banki.hu
Thu Jan 17 01:23:09 CET 2002


Hi,

applied. also the requored other chanegs to avoid breaking cpu usage
again...

> Hi Arpi,
> you can revert to the old seeking method again (I would prefer that).
> The dxr3 doesn't require a pts > prev_pts, it was due to a bug in the
> driver that it needed it, in fact, I now need a way of telling if the
> user has seeked so I can flush the buffer. The only way to do it without
> making major modifications to libvo is to revert to the old method of
> setting vo_pts to 0 when seeking.
> 
> //David
> 
> 
> Index: libmpdemux/demuxer.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.c,v
> retrieving revision 1.66
> diff -u -r1.66 demuxer.c
> --- libmpdemux/demuxer.c	16 Jan 2002 03:23:03 -0000	1.66
> +++ libmpdemux/demuxer.c	16 Jan 2002 20:09:07 -0000
> @@ -709,12 +709,8 @@
>      demuxer->video->eof=0;
>      demuxer->audio->eof=0;
>  
> -#if 1
> -    if(sh_audio) sh_audio->timer=sh_video->timer;
> -#else
>      if(sh_audio) sh_audio->timer=0;
>      sh_video->timer=0; // !!!!!!
> -#endif
>  
>  switch(demuxer->file_format){
>  
> 
> 
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> 
> 


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-dev-eng mailing list