vdpau: comment some features that will be added later
authorRainer Hochecker <fernetmenta@online.de>
Fri, 2 Aug 2013 11:57:47 +0000 (13:57 +0200)
committerRainer Hochecker <fernetmenta@online.de>
Thu, 12 Sep 2013 09:38:10 +0000 (11:38 +0200)
xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp

index 369a19e..ae7cce7 100644 (file)
@@ -938,7 +938,8 @@ int CDecoder::Decode(AVCodecContext *avctx, AVFrame *pFrame)
     m_bufferStats.IncDecoded();
     m_vdpauOutput.m_dataPort.SendOutMessage(COutputDataProtocol::NEWFRAME, &pic, sizeof(pic));
 
-    m_codecControl = pic.DVDPic.iFlags & (DVP_FLAG_DRAIN | DVP_FLAG_NO_POSTPROC);
+    //TODO
+    // m_codecControl = pic.DVDPic.iFlags & (DVP_FLAG_DRAIN | DVP_FLAG_NO_POSTPROC);
   }
 
   int retval = 0;
@@ -993,7 +994,8 @@ int CDecoder::Decode(AVCodecContext *avctx, AVFrame *pFrame)
       msg->Release();
     }
 
-    if ((m_codecControl & DVP_FLAG_DRAIN))
+    // TODO
+    if (1) //(m_codecControl & DVP_FLAG_DRAIN))
     {
       if (decoded + processed + render < 4)
       {
@@ -2140,7 +2142,8 @@ void CMixer::InitCycle()
   int flags;
   m_config.stats->GetParams(latency, flags);
   latency = (latency*1000)/CurrentHostFrequency();
-  if (flags & DVP_FLAG_NO_POSTPROC)
+  // TODO
+  if (0) //flags & DVP_FLAG_NO_POSTPROC)
     SetPostProcFeatures(false);
   else
     SetPostProcFeatures(true);
@@ -2151,7 +2154,8 @@ void CMixer::InitCycle()
   EINTERLACEMETHOD method = GetDeinterlacingMethod();
   bool interlaced = m_mixerInput[1].DVDPic.iFlags & DVP_FLAG_INTERLACED;
 
-  if (!(flags & DVP_FLAG_NO_POSTPROC) &&
+  // TODO
+  if (//!(flags & DVP_FLAG_NO_POSTPROC) &&
       (mode == VS_DEINTERLACEMODE_FORCE ||
       (mode == VS_DEINTERLACEMODE_AUTO && interlaced)))
   {
@@ -2173,7 +2177,8 @@ void CMixer::InitCycle()
         m_config.stats->SetCanSkipDeint(true);
       }
 
-      if (m_mixerInput[1].DVDPic.iFlags & DVP_FLAG_DROPDEINT)
+      // TODO
+      if (0) //m_mixerInput[1].DVDPic.iFlags & DVP_FLAG_DROPDEINT)
       {
         m_mixersteps = 1;
       }