Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: SO-8859-1?Q?Play_"vdr2dvd"_DVDs_with_DVD-VDR_Plugin_??



Hi,

Manuel Melic wrote:

[...]
I had the same problems with my self-burned dvd's. After I have checked the player-dvd.c file (dvd-plugin ver 0.2.0), I modified only one line of the following:

case AUDIO_STREAM_S ... AUDIO_STREAM_E: {
// no sound in trick mode
if (trickMode)
return 0;
if (audioTrack != cPStream::packetType(sector))
//return 0; for propper working with mpeg-audio stream
if (ptsFlag) {
adiff = pktpts - lapts;
lapts = pktpts;
}

in cDvdPlayer::playPacket.
Sorry, but your fix is wrong. DVD's with more than one MPEG audio track will not play correctly.

Try this patch instead:

--- ./player-dvd.c.orig 2003-03-13 10:43:58.000000000 +0100
+++ ./player-dvd.c 2003-03-13 10:45:23.000000000 +0100
@@ -626,7 +626,7 @@
// no sound in trick mode
if (trickMode)
return 0;
- if (audioTrack != cPStream::packetType(sector))
+ if (audio_stream != cPStream::packetType(sector))
return 0;
if (ptsFlag) {
adiff = pktpts - lapts;
--- ./player-dvd.h.orig 2003-03-13 10:45:48.000000000 +0100
+++ ./player-dvd.h 2003-03-13 10:46:34.000000000 +0100
@@ -98,7 +98,6 @@

bool stillFrame;
uint32_t VideoPts;
- uchar audioTrack;

static int Speeds[];
bool active, running;



Andreas



--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index