Date: Wed, 24 Mar 2010 09:46:31 +0100 From: Bernhard Froehlich <decke@bluelife.at> To: Bernhard Froehlich <decke@bluelife.at> Cc: Andriy Bakay <andriy@irbisnet.com>, multimedia@FreeBSD.org Subject: Re: MythTV + VDPAU Message-ID: <8112c450055b8fb2aa03c411cd54ee29@bluelife.at> In-Reply-To: <793b90ddde2f59070ab34a28ee490f6b@bluelife.at> References: <4BA9A212.8000009@irbisnet.com> <793b90ddde2f59070ab34a28ee490f6b@bluelife.at>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 24 Mar 2010 09:38:15 +0100, Bernhard Froehlich <decke@bluelife.at> wrote: > On Wed, 24 Mar 2010 01:24:34 -0400, Andriy Bakay <andriy@irbisnet.com> > wrote: >> Hi Bernhard, >> >> I tried to compile MythTV with VDPAU support and it gave me the >> following error: >> >> util-vdpau.cpp: In member function 'void >> VDPAUContext::PrepareVideo(VideoFrame*, QRect, QRect, QSize, >> FrameScanType)': >> util-vdpau.cpp:1092: error: call of overloaded 'abs(long long int)' is >> ambiguous >> /usr/include/stdlib.h:83: note: candidates are: int abs(int) >> /usr/include/c++/4.2/cstdlib:143: note: long int >> std::abs(long int) >> gmake[2]: *** [util-vdpau.o] Error 1 >> gmake[2]: Leaving directory >> `/usr/ports/multimedia/mythtv/work/mythtv-0.22/libs/libmythtv' >> gmake[1]: *** [sub-libmythtv-all] Error 2 >> gmake[1]: Leaving directory >> `/usr/ports/multimedia/mythtv/work/mythtv-0.22/libs' >> gmake: *** [sub-libs-all-ordered] Error 2 >> *** Error code 1 >> >> I was able to fix the problem, just replace function 'abs' to 'llabs'. >> After that fix it compiles and work with my nVidia Silent GeForce 8400 >> GS 512MB. It used only 5-6% of my CPU when I played 1080p movie. > > That sounds great but i do not have any nVidia hardware so i cannot test > it myself. > What configure options did you exactly add? From the VDPAU wiki page it > looks like it would be a good idea to add both: > --enable-xvmc-opengl --enable-vdpau > > I hope to have some time in the upcoming days to prepare a test port for > this and will reply when i'm ready. > > As a side note i've seen that MythTV is already preparing a 0.23 release > so I want to have a 0.23 port ready for a Call for Testers when they > announce their first release candidate. I probably can't hold this as they where quicker than i thought. MythTV 0.23 RC1 is available since 2 hours. -- Bernhard Fröhlich http://www.bluelife.at/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8112c450055b8fb2aa03c411cd54ee29>