Patch: dxr3plugin OSD don't turn pink

Message ID 42636BC0.6050802@ventoso.org
State New
Headers

Commit Message

Luca Olivetti April 18, 2005, 8:11 a.m. UTC
  Kimmo Vuorinen wrote:

> 
> Could someone who knows where to look check that plugin doesn't set dxr3 
> hardware to analog audio output when returning from mplayer?
> 
> Thanks.

Try this (untested) patch.

Bye
  

Comments

Kimmo Vuorinen April 18, 2005, 8:33 a.m. UTC | #1
Luca Olivetti wrote:
> Kimmo Vuorinen wrote:
> 
>>
>> Could someone who knows where to look check that plugin doesn't set 
>> dxr3 hardware to analog audio output when returning from mplayer?
>>
>> Thanks.
> 
> 
> Try this (untested) patch.

Seems to work, thank you again.
  
Ville Skyttä April 18, 2005, 3:02 p.m. UTC | #2
On Mon, 2005-04-18 at 11:33 +0300, Kimmo Vuorinen wrote:
> Luca Olivetti wrote:
> > Kimmo Vuorinen wrote:
> > 
> >>
> >> Could someone who knows where to look check that plugin doesn't set 
> >> dxr3 hardware to analog audio output when returning from mplayer?
> >>
> >> Thanks.
> > 
> > 
> > Try this (untested) patch.
> 
> Seems to work, thank you again.

Applied, thanks.
  

Patch

--- dxr3interface.c.orig	2005-04-18 10:08:05.182799639 +0200
+++ dxr3interface.c	2005-04-18 10:08:54.059910985 +0200
@@ -751,6 +751,8 @@ 
         if (m_fdAudio > -1) close(m_fdAudio);
         m_fdControl = m_fdVideo = m_fdSpu = m_fdAudio = -1;
         m_aspectRatio = UNKNOWN_ASPECT_RATIO;
+	// default value 9 = unused value
+        m_audioMode =  9;
 
         m_ExternalReleased = true;