Re: DXR3, which versions to select?

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

 



Ville Skytt? wrote:
> 
> The most glaring DXR3 plugin problems I'm aware of are:

> - No sound with the MP3 or DVD plugins with VDR >= 1.3.18

The attached patch should resolve the problem with the MP3-plugin. The 
patch is against cvs-version in vdr-dxr3-stable branch.

BR, Antti
-------------- next part --------------
Index: dxr3device.c
===================================================================
RCS file: /cvsroot/dxr3plugin/dxr3/dxr3device.c,v
retrieving revision 1.2.2.8
diff -w -b -u -r1.2.2.8 dxr3device.c
--- dxr3device.c	18 Mar 2005 22:31:55 -0000	1.2.2.8
+++ dxr3device.c	20 Mar 2005 13:22:15 -0000
@@ -383,12 +383,19 @@
     if (m_strBuf.length()) 
 	{
         m_strBuf.append((const char*)Data, Length);
+        if (m_PlayMode == pmAudioOnly) {
+		retLength = m_DemuxDevice.DemuxAudioPes((const uint8_t*)m_strBuf.data(), m_strBuf.length());
+	} else {	        
         retLength = m_DemuxDevice.DemuxPes((const uint8_t*)m_strBuf.data(), m_strBuf.length(), true);
     } 
-	else 
-	{
+    	 
+    } else { 
+	if (m_PlayMode == pmAudioOnly) {
+		retLength = m_DemuxDevice.DemuxAudioPes((const uint8_t*)Data, Length);
+	} else {
         retLength = m_DemuxDevice.DemuxPes((const uint8_t*)Data, Length, true);
     }
+    }
 	
     Length -= retLength;
 	

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux