Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: How to use 5.1 with VDR?
On 17 Jan 2003 "Jan Rieger" <jan@ricomp.de> wrote:
> I've written a patch against vdr 1.1.20 that ports the AC3overDVB stuff
> from the AIO 10.09 patch against vdr 1.0.4. It should also work with
> the newest version of vdr (1.1.21) and perhaps with older versions - so
> try it.
Great!!!
This is the last big thing I was missing in vdr 1.1.x.
It works good for me (HarmanKardon DD-receiver, vdr-1.1.21).
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.
Did not tried DVD yet.
Thanks you very much for your work :-)
--
Stefan Huelswitt
huels@iname.com | http://home.pages.de/~nathan
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index