El Domingo, 13 de Junio de 2010, Luca Olivetti escribió:
> Al 25/03/10 16:08, En/na Jose Alberto Reguero ha escrit:
> > Patch for xine-lib that don't need to patch remux.c to work.
> 
> Today I applied this patch (strange it isn't in xine-lib-1.2 yet) but
> there's still no sound on tvehd (vdr 1.7.15, vdr-xine and playing the ts
> directly through xine).
> Do I need some special options to configure xine-lib for this patch to
> take effect?
> 
> Bye

I use the latest xine-lib hg without patches and xineliboutput with the 
attached patch. Live TV are ok, but the recordings have drop outs. vdr-xine 
don't work with eac3.

Jose Alberto
Index: xine/ts2es.c
===================================================================
RCS file: /cvsroot/xineliboutput/vdr-xineliboutput/xine/ts2es.c,v
retrieving revision 1.12
diff -r1.12 ts2es.c
33a34
>   int            numpreview;
165,169c166,181
< 
<       this->buf->decoder_flags |= BUF_FLAG_FRAME_END;
< 
<       result = this->buf;
<       this->buf = NULL;
---
>       if (!this->video) {
>         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;
>         result = this->buf;
>         this->buf = NULL;
>       } else {
>         this->buf->decoder_flags |= BUF_FLAG_FRAME_END;
>         result = this->buf;
>         this->buf = NULL;
>       }
177d188
< 
313a325,326
>   data->numpreview=0;
> 
_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to