[MPlayer-dev-eng] OGG Text stream quirks

Attila Kinali kinali at gmx.net
Fri Oct 10 12:10:26 CEST 2003


On Sun, 05 Oct 2003 15:10:47 -0400
Jarrod Johnson <jbj-mplayer at ura.dnsalias.org> wrote:


> diff -urN MPlayer-0.92/libmpdemux/demux_ogg.c 
> MPlayer-0.92.fixed/libmpdemux/demux_ogg.c
> --- MPlayer-0.92/libmpdemux/demux_ogg.c 2003-08-09 10:12:34.000000000 -0400
> +++ MPlayer-0.92.fixed/libmpdemux/demux_ogg.c   2003-10-05 
> 10:52:32.000000000 -0400
> @@ -217,7 +217,7 @@
>        if(pack->granulepos == -1)
>          pack->granulepos = os->lastpos + os->lastsize;
>        pts = (float)pack->granulepos/(float)os->samplerate;
> -      clear_sub = pts + (float)duration/1000.0;
> +      clear_sub = 0.001 + pts + (float)duration/1000.0;
>      }
>      while (1) {
>        int c = packet[lcv++];

Can someone knowing about ogg and subs give a comment on this ?

BTW: Jarrod, please read patches.txt
BTW2: Learn to quote (there are some links in the documentation)

		Attila Kinali

-- 
egp ist vergleichbar mit einem ikea bausatz fuer flugzeugtraeger
			-- reeler in +kaosu



More information about the MPlayer-dev-eng mailing list