[mythtv-commits] mythtv commit: r14098 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Aug 1 01:05:38 UTC 2007


      Author: danielk
        Date: 2007-08-01 01:05:37 +0000 (Wed, 01 Aug 2007)
New Revision: 14098
   Changeset: http://cvs.mythtv.org/trac/changeset/14098

Added:

   branches/mythtv-vid/libs/libmythtv/util-osx-cocoa.h
   branches/mythtv-vid/libs/libmythtv/util-osx-cocoa.mm

Modified:

   branches/mythtv-vid/libs/libmythtv/NuppelVideoPlayer.cpp
   branches/mythtv-vid/libs/libmythtv/NuppelVideoPlayer.h
   branches/mythtv-vid/libs/libmythtv/libmythtv.pro
   branches/mythtv-vid/libs/libmythtv/videoout_dvdv.mm

Log:

Refs #2287. Creates and destroyes the memory allocator needed by Cocoa.

The OS X Cocoa libraries assume that you have a garbage collector allocated and will leak memory if you don't. However it needs a specific garbage collector for each thread which creates some complications. This creates and destroyes the garbage collector needed to handle DVDV stuff.

We really should allocate a garbage collector for each thread in MythTV on the OS X platform, but this addresses the only major memory leak this Cocoa requirement appears to cause. And addresses all the additional memory leaks DVDV could have added to the mix.




More information about the mythtv-commits mailing list