[mythtv-commits] Ticket #2912: UseXvMCForHDOnly with PreferredMPEG2Decoder=xvmc (Standard XVMC) causes internal player to use XVMC for DVDs and ISOs

MythTV mythtv at cvs.mythtv.org
Sat Jan 13 07:14:07 UTC 2007


#2912: UseXvMCForHDOnly with PreferredMPEG2Decoder=xvmc (Standard XVMC) causes
internal player to use XVMC for DVDs and ISOs
------------------------+---------------------------------------------------
 Reporter:  maverik044  |        Owner:  ijr 
     Type:  patch       |       Status:  new 
 Priority:  minor       |    Milestone:  0.21
Component:  mythtv      |      Version:  head
 Severity:  medium      |   Resolution:      
------------------------+---------------------------------------------------
Comment (by maverik044):

 Sorry got it backwards

 --- libs/libmythtv/videoout_xv.cpp.orig 2007-01-12 23:36:46.000000000
 -0500
 +++ libs/libmythtv/videoout_xv.cpp      2007-01-13 01:51:56.000000000
 -0500
 @@ -1008,9 +1008,11 @@ MythCodecID VideoOutputXv::GetBestSuppor
      bool use_xv = true, use_shm = true;[[BR]]

      QString dec = gContext->GetSetting("PreferredMPEG2Decoder",
 "ffmpeg");[[BR]]
 -    if (dec != "libmpeg2" && height < 720 &&[[BR]]
 +[[BR]]
 +    if (dec != "libmpeg2" && height >= 720 &&
          gContext->GetNumSetting("UseXvMCForHDOnly", 0))
 -        dec = "ffmpeg";[[BR]]
 +        dec = "xvmc";[[BR]]
 +
      if (dec == "xvmc")
          use_xvmc_idct = use_xvmc = true;
      else if (dec == "xvmc-vld")

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/2912#comment:1>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list