vdr and aac support

Message ID 201005240032.06147.jareguero@telefonica.net
State New
Headers

Commit Message

Jose Alberto Reguero May 23, 2010, 10:32 p.m. UTC
  El Martes, 18 de Mayo de 2010, Jose Alberto Reguero escribió:
> El Martes, 18 de Mayo de 2010, Luca Olivetti escribió:
> > Al 18/05/10 21:43, En/na Luca Olivetti ha escrit:
> > > (i.e. it only adds SI::AACDescriptorTag)
> > > 
> > > I must have missed some patch along the way :-/
> > 
> > Ok, they were in the "Recording DVB-T HD infrance" (sic).
> > It appears that spain is using the same standard.
> > 
> > Bye
> 
> Here is a patch based in Klaus aac pacth that add support for eac3 sound in
> vdr.
> 
> Jose Alberto

Patch for xineliboutput to support eac3. With this patch you don't need to 
patch the latest xine-lib-1.2.

Jose Alberto
  

Patch

Index: xine/ts2es.c
===================================================================
RCS file: /cvsroot/xineliboutput/vdr-xineliboutput/xine/ts2es.c,v
retrieving revision 1.11
diff -r1.11 ts2es.c
33a34
>   int            numpreview;
78a80,85
>   if (this->stream_type == STREAM_AUDIO_EAC3) {
>     this->xine_buf_type |= BUF_AUDIO_EAC3;
>     this->buf->type = this->xine_buf_type;
>     return;
>   }
> 
163c170,177
<       this->buf->decoder_flags |= BUF_FLAG_FRAME_END;
---
>       if (this->numpreview<5)
>         this->numpreview++;
>       if (this->numpreview == 1)
>         this->buf->decoder_flags = BUF_FLAG_HEADER | BUF_FLAG_FRAME_END;
>       else if (this->numpreview < 5)
>         this->buf->decoder_flags = BUF_FLAG_PREVIEW;
>       else
>         this->buf->decoder_flags |= BUF_FLAG_FRAME_END;
310a325,326
>   data->numpreview=0;
>