[Mplayer-cvslog] CVS: main/libmpdemux demux_roq.c,1.4,1.5 video.c,1.12,1.13
Arpi
arpi at thot.banki.hu
Sun Mar 31 19:36:25 CEST 2002
Hi,
> +// Pick a number, any number (but not 1); make it large enough (any number
> +// over, say, 50, should work well). I don't know why this works, but it
> +// does. For some reason, setting a frame's PTS value to
> +// (frame number) / (fps)
> +// when fps is small (20-30) doesn't work. But multiplying the PTS by
> +// n / n
> +// where n is some non-small number works PTS miracles.
> +#define RANDOM_FPS_MULTIPLIER 162
you mean it works now but if i change RANDOM_FPS_MULTIPLIER to 1 it will be
broken? sounds like some float->int rounding of pts problem in your code...
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-cvslog
mailing list