[MPlayer-dev-eng] [PATCH] tremor: v3.0 some workaround for

Balatoni Denes pnis at coder.hu
Wed Jan 29 00:28:27 CET 2003


So this is hopefully my last attempt.
tremor seems to need a little rest, otherwise it will 
never give back samples>0 ... 

bye
Denes


On 2003. január 28. 23:56, Arpi wrote:
> Hi,
>
> > So
> >
> > > ehh
> > >
> > > -         while((samples=vorbis_synthesis_pcmout(&ov->vd,&pcm))<=0){
> > > -           op.bytes = ds_get_packet(sh->ds,&op.packet);
> > > -           if(op.bytes<=0) break;
> > > -           if(vorbis_synthesis(&ov->vb,&op)==0) /* test for success!
> > > */ -             vorbis_synthesis_blockin(&ov->vd,&ov->vb);
> >
> > Here should come first something like
> > +	if (vorbis_synthesis_pcmout(&ov->vd,&pcm)>0) break;
> >
> > ?
>
> why?
>
> while((samples=vorbis_synthesis_pcmout(&ov->vd,&pcm))<=0){
> }
>
> just do the same
>
>
> A'rpi / Astral & ESP-team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tremorv3.0.diff
Type: text/x-diff
Size: 1865 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030129/3ace8f26/attachment.diff>


More information about the MPlayer-dev-eng mailing list