From patchwork Wed Apr 6 17:15:51 2005 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Olivetti X-Patchwork-Id: 11847 Received: from 232.red-213-97-27.pooles.rima-tde.net ([213.97.27.232]) by www.linuxtv.org with esmtp (Exim 4.34) id 1DJE8S-0004ug-7c for vdr@linuxtv.org; Wed, 06 Apr 2005 19:16:12 +0200 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by 232.Red-213-97-27.pooles.rima-tde.net (Postfix) with ESMTP id ECB9C18AC161 for ; Wed, 6 Apr 2005 19:15:57 +0200 (CEST) Message-ID: <42541947.3040904@ventoso.org> Date: Wed, 06 Apr 2005 19:15:51 +0200 From: Luca Olivetti User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Klaus Schmidinger's VDR Subject: Re: [vdr] Patch: dxr3plugin OSD don't turn pink References: <424A9224.4000608@compuserve.de> <1112729171.22818.48.camel@bobcat.mine.nu> <4253CC49.6060004@palsi.net> <200504061523.43675.jukka.tastula@kotinet.com> <4253DB97.7020906@palsi.net> In-Reply-To: <4253DB97.7020906@palsi.net> X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Klaus Schmidinger's VDR List-Id: Klaus Schmidinger's VDR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2005 17:16:13 -0000 Status: O X-Status: X-Keywords: X-UID: 1463 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 --- 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;