[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-common-dev
Subject:    [Common-dev] CR/CN : i420 Renderer
From:       Sandeep Suresh <ssuresh () real ! com>
Date:       2007-07-24 1:44:18
Message-ID: 46A55972.6060707 () real ! com
[Download RAW message or body]

FYI.....

This is checked into head, cayenne_203 and cayenne_150. 

Summary of Changes:
---------------------

- Fixed memory leak of IHXBuffer
- Disabled FramePool by default for i420 renderer.


Reviewed by milko.


Thanks,
Sandeep.


RCS file: /cvsroot/datatype/i420/renderer/i420vdfmt.cpp,v
retrieving revision 1.5
diff -u -w -r1.5 i420vdfmt.cpp
--- i420vdfmt.cpp       16 Apr 2007 21:33:53 -0000      1.5
+++ i420vdfmt.cpp       24 Jul 2007 01:37:22 -0000
@@ -131,6 +131,7 @@
 HX_RESULT CI420VideoFormat::Init(IHXValues* pHeader)
 {
     HX_RESULT retVal = CVideoFormat::Init(pHeader);
+    HX_DELETE( m_pFramePool );

     // This will inspect the m_pHeader for the info it needs
     SetupOutputFormat();
@@ -266,6 +267,7 @@
        }
     }

+    HX_RELEASE(pBuf);
     m_pI420VideoRenderer->BltIfNeeded();



_______________________________________________
Common-dev mailing list
Common-dev@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/common-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic