Mailing List archive

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

[vdr] Re: dvd-0.3.3-jau-p2 (audio-id patch)



Hi Sven, Hi all

On Tuesday 30 September 2003 10:36 pm, Sven Goethel wrote:
> patch against Andreas Schultz'S vdr-dvd-0.3.3
>
> this patch allows you to use an PS stream
> with many MP2 ES plus other audio ES streams, e.g:
> 	MPEG2 + AC3 + MP2 + MP2
>
> if you switch the audio channel via dvd navigation,
> this change will being respected an therefor the
> right aid will being played.

nice work, MP2 could indeed not work before. But i believe your patch is a bit 
overkill. The attached patch should achive the same.

Regards

Andreas

patch:

===== player-dvd.c 1.34 vs edited =====
--- 1.34/PLUGINS/src/dvd/player-dvd.c   Mon Jun 16 21:08:05 2003
+++ edited/player-dvd.c Wed Oct  1 18:28:14 2003
@@ -635,7 +635,7 @@
          // no sound in trick mode
          if (trickMode)
             return;
-        if (audioTrack != (cPStream::packetType(sector) & 7))
+        if (audio_stream != (cPStream::packetType(sector) & 7))
             return;
         if (ptsFlag) {
             adiff = pktpts - lapts;
===== player-dvd.h 1.23 vs edited =====
--- 1.23/PLUGINS/src/dvd/player-dvd.h   Sat May  3 21:33:29 2003
+++ edited/player-dvd.h Wed Oct  1 18:28:25 2003
@@ -101,7 +101,6 @@
     uint8_t stillFrame;
     uint8_t lastFrameType;
     uint32_t VideoPts;
-    uchar audioTrack;

     static int Speeds[];
     bool active, running;



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



Home | Main Index | Thread Index