<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
No problem, glad to be of help. I just hope it would work for me too ;)
<br>
<br>
I must be doing something wrong here... <br>
I just compiled the libmythtv (after uncommenting the define) and then
copied it over the old one. <br>
Is this how you got it working or is there something else to it?<br>
<br>
I also tried changing the return value in the calc_hue_base -function,
but that didn't help either. <br>
<br>
- Jussi <br>
<br>
Alex Beyens wrote:
<blockquote cite="mid001e01c7300b$a63149d0$c800000a@QMEDION" type="cite">
  <title></title>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <meta content="MSHTML 6.00.5730.11" name="GENERATOR">
  <div><font face="Arial" size="2">Hi Jussi,</font></div>
  <div><font face="Arial" size="2">Thanks for your usefull answer.</font></div>
  <div>&nbsp;</div>
  <div><font face="Arial" size="2">In the latest sources the define is
now USE_HACK_FOR_BROKEN_I420_SUPPORT_IN_DRIVER.</font></div>
  <div><font face="Arial" size="2">I uncommented the line, recompiled
the library and installed it with success.</font></div>
  <div><font face="Arial" size="2">The colors are now correct, my sky
is blue and my tomatos are red.</font></div>
  <div>&nbsp;</div>
  <div><font face="Arial" size="2">Thanks again.</font></div>
  <div>&nbsp;</div>
  <div><font face="Arial" size="2">Alex</font></div>
  <blockquote
 style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
    <div
 style="background: rgb(228, 228, 228) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>From:</b>
    <a title="jabbathehut@eml.cc" href="mailto:jabbathehut@eml.cc">Jussi
Hagstr&ouml;m</a> </div>
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b>
    <a title="mythtv-users@mythtv.org"
 href="mailto:mythtv-users@mythtv.org">Discussion about mythtv</a> </div>
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Thursday, January 04, 2007 11:00 AM</div>
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b>
Re: [mythtv-users] blue and red channel swapped with internal player</div>
    <div><br>
    </div>
Yes, It's a bug in the ATI drivers. There's a hack that you could use
to get rid of the problem. It didn't work for me, though..<br>
Here's a quote from the MythTV-talk forums: <br>
---<br>
    <span class="postbody">You need to recompile with
USE_ATI_PROPRIETARY_DRIVER_XVIDEO_HACK enabled <br>
See: <a
 href="http://svn.mythtv.org/trac/browser/branches/release-0-20-fixes/mythtv/libs/libmythtv/videoout_xv.cpp#L67"
 target="_blank" rel="nofollow">http://svn.mythtv.org/trac/browser/branches/release-0-20-fixes/mythtv/libs/libmythtv/videoout_xv.cpp#L67</a>
    <br>
Also you may need to modify this function to include your Xv adaptor: <a
 href="http://svn.mythtv.org/trac/browser/branches/release-0-20-fixes/mythtv/libs/libmythtv/videoout_xv.cpp#L3448"
 target="_blank" rel="nofollow">http://svn.mythtv.org/trac/browser/branches/release-0-20-fixes/mythtv/libs/libmythtv/videoout_xv.cpp#L3448</a><br>
    </span>---<br>
    <br>
I don't think this will be fixed in MythTv so the only option is to bug
ATI to fix their drivers. I'm personally probably going to just <br>
get rid of my ATI card and try NVidia. <br>
    <span class="postbody"><br>
    </span><br>
Alex Beyens wrote:
    <blockquote cite="mid001601c72f91$c1a248b0$c800000a@QMEDION"
 type="cite">
      <meta content="MSHTML 6.00.5730.11" name="GENERATOR">
      <style></style>
      <div><font face="Arial" size="2">
      <div><font face="Arial" size="2">When I use the internal player
for whatever in MythtTV it works except that the blue and red channels
are&nbsp;swapped (the sky is red and the tomatos&nbsp;are blue :-D )</font></div>
      <div><font face="Arial" size="2">When I use mplayer I don't have
the problem. That's ok for watching videos and &nbsp;DVDs but not for TV
because we can't change the player.</font></div>
      <div><font face="Arial" size="2">I found that this problem is
bound with the DRI (direct rendering) option of the ATI Radeon driver
(official driver from ATI).</font></div>
      <div><font face="Arial" size="2">When I desactivate the DRI the
colors are OK but then all the work is done by the CPU and it looks
that it is not fast enough (sound not sync with picture, frames
droped,...)</font></div>
      <div>&nbsp;</div>
      <div><font face="Arial" size="2">Does anyone have an
idea/solution?</font></div>
      <div>&nbsp;</div>
      <div><font face="Arial" size="2">I've read somewhere that the
internal player was based on mplayer and found in the mplayer change
log that there was a very old fixed bug (Feb 1, 2001)&nbsp;about swapped
red-blue</font></div>
      <div><font face="Arial" size="2"><a href="">http://www.mplayerhq.hu/MPlayer/releases/ChangeLog-1.0rc1</a>&nbsp;Could
this be the same?</font></div>
      </font></div>
      <pre wrap=""><hr size="4" width="90%">
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated"
 href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext"
 href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
  </pre>
    </blockquote>
    <br>
    <br>
__________ Information NOD32 1956 (20070104) __________<br>
    <br>
Ce message a ete verifie par NOD32 Antivirus System.<br>
    <a href="http://www.nod32.com">http://www.nod32.com</a><br>
    <p> </p>
    <hr> _______________________________________________<br>
mythtv-users mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
    <br>
    <br>
__________ Information NOD32 1956 (20070104) __________<br>
    <br>
Ce message a ete verifie par NOD32 Antivirus System.<br>
<a class="moz-txt-link-freetext" href="http://www.nod32.com">http://www.nod32.com</a><br>
    <br>
  </blockquote>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
  </pre>
</blockquote>
</body>
</html>