Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: How to use 5.1 with VDR?
> -----Original Message-----
> From: vdr-bounce@linuxtv.org [mailto:vdr-bounce@linuxtv.org]
> On Behalf Of Stefan Huelswitt
> Sent: Friday, January 17, 2003 11:24 PM
> To: vdr@linuxtv.org
> Subject: [vdr] Re: How to use 5.1 with VDR?
>
> But with some older recordings, I have a slight video
> stuttering every 2-3 seconds. I compared your source with the
> older 1.0.4 and I saw that you are generating the PTS data
> different. If I change (like the way in 1.0.4):
>
> --- multichannelaudio.c.orig 2003-01-17 23:17:32.000000000 +0100
> +++ multichannelaudio.c 2003-01-17 23:16:34.000000000 +0100
> @@ -180,7 +180,7 @@
> DEBUG("old buffer context: %d\n", bufptr - buf);
>
> //do we enter with an empty buffer
> - bool sendPTS = (bufptr - buf) < 100;
> + bool sendPTS = (bufptr - buf) < 40 ? 2:0;
>
> for (;;) {
>
> @@ -210,7 +210,7 @@
>
> else {
>
> - SendIEC60958(buf, bufpos - buf, sendPTS ?
> PTSflags : 0, PTSdata);
> + SendIEC60958(buf, bufpos - buf, sendPTS, PTSdata);
>
> sendPTS = false;
> bufptr = buf;
>
> the stuttering is gone.
Thank you for testing. Unfortunately I have no idea about this streaming
things. By generalizing the AC3 and DTS code I have choosen the greater
value. Perhaps I have again to split up the AC3 and DTS decoding...
... O.K. I have updated the patch and integrated your change in a manner
that the DTS things are not affected.
Can you try if this works also?
@Gregoire: Perhaps this solves your problem, too?
Jan
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index