Patch: dxr3plugin OSD don't turn pink

Message ID 42541947.3040904@ventoso.org
State New
Headers

Commit Message

Luca Olivetti April 6, 2005, 5:15 p.m. UTC
  Kimmo Vuorinen wrote:
> Jukka Tastula wrote:
> 
>> On Wednesday 06 April 2005 14:47, Kimmo Vuorinen wrote:
>>
>>
>>> Mplayer plugin, 0.9.12:
>>> Wrong aspect ratio after returning to VDR.
>>
>>
>>
>> This isn't by any chance because you have set in mplayer.sh.conf 
>> TV_ASPECT="16/9"? This is a bad idea in any case no matter the shape 
>> of your tv. 
> 
> 
> I have 4:3 tv and I am using my own script to start mplayer and it uses 
> -aspect and -monitoraspect 1.3333 options. After returning to VDR which 
> is tuned into channel with 16:9 transmission, picture is scretched into 
> 4:3.  I'll do some more testing later at the evening.

Try this patch (it works here).

Bye
  

Comments

Kimmo Vuorinen April 6, 2005, 5:33 p.m. UTC | #1
Luca Olivetti wrote:
> Kimmo Vuorinen wrote:
>> I have 4:3 tv and I am using my own script to start mplayer and it 
>> uses -aspect and -monitoraspect 1.3333 options. After returning to VDR 
>> which is tuned into channel with 16:9 transmission, picture is 
>> scretched into 4:3.  I'll do some more testing later at the evening.
> 
> 
> Try this patch (it works here).

That seems to do the job, thank you.
  
Ville Skyttä April 6, 2005, 9:08 p.m. UTC | #2
On Wed, 2005-04-06 at 20:33 +0300, Kimmo Vuorinen wrote:
> Luca Olivetti wrote:
> > Kimmo Vuorinen wrote:
> >> I have 4:3 tv and I am using my own script to start mplayer and it 
> >> uses -aspect and -monitoraspect 1.3333 options. After returning to VDR 
> >> which is tuned into channel with 16:9 transmission, picture is 
> >> scretched into 4:3.  I'll do some more testing later at the evening.
> > 
> > Try this patch (it works here).
> 
> That seems to do the job, thank you.

Confirmed and applied.
  

Patch

--- dxr3interface.c.orig	2005-04-06 19:08:50.116137231 +0200
+++ dxr3interface.c	2005-04-06 19:10:18.891986297 +0200
@@ -749,6 +749,7 @@  void cDxr3Interface::ExternalReleaseDevi
         if (m_fdSpu > 0) close(m_fdSpu);
         if (m_fdAudio > 0) close(m_fdAudio);
         m_fdControl = m_fdVideo = m_fdSpu = m_fdAudio = -1;
+        m_aspectRatio = UNKNOWN_ASPECT_RATIO;
 
         m_ExternalReleased = true;