[rbp] Don't consider half-SBS/TB 3D modes to have double the framerate
authorpopcornmix <popcornmix@gmail.com>
Tue, 22 Jan 2013 00:14:48 +0000 (00:14 +0000)
committerS. Davilla <davilla@4pi.com>
Wed, 23 Jan 2013 15:22:22 +0000 (10:22 -0500)
xbmc/cores/VideoRenderers/BaseRenderer.cpp

index e476541..a54ff31 100644 (file)
@@ -202,8 +202,6 @@ RESOLUTION CBaseRenderer::FindClosestResolution(float fps, float multiplier, RES
   /*
    * For 3D modes the following is assumed :
    *
-   * fps is fps * 2 : 25 fps -> 50 fps
-   *
    * side-by-side :
    *
    * width is width / 2 : 1920 -> 960
@@ -227,12 +225,10 @@ RESOLUTION CBaseRenderer::FindClosestResolution(float fps, float multiplier, RES
   if(m_iFlags & CONF_FLAGS_FORMAT_SBS)
   {
     iScreenWidth /= 2;
-    fRefreshRate *= 2;
   }
   else if(m_iFlags & CONF_FLAGS_FORMAT_TB)
   {
     iScreenHeight /= 2;
-    fRefreshRate *= 2;
   }
 
   float last_diff = fRefreshRate;