[mythtv-commits] mythtv commit: r6728 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Mon Jun 27 13:20:31 UTC 2005


      Author: danielk
        Date: 2005-06-27 13:20:30 +0000 (Mon, 27 Jun 2005)
New Revision: 6728
   Changeset: http://cvs.mythtv.org/trac/changeset/6728

Modified:

   trunk/mythtv/libs/libmythtv/videoout_xv.cpp

Log:

This is an UGLY hack for a problem in CreateXvMCSurfaces().

reateXvMCSurfaces is supposed to allocate between 8 and 16 buffers,
allocating as many as possible, and reinitializing vbuffers as needed.
But it seems with the Unichrome chipset you need to call vbuffers.Init()
with the exact number of buffers you are capable of allocating BEFORE 
CreateXvMCSurfaces is called to allocate them.

Since the Unichrome chipset is the only chipset, I know of, which allows
more than eight XvMC buffers this is probably a general problem, exposed
simply by the unichrome chipset.

The hack is curtesy of Terry Barnaby, and should at least solve the
prebuffering pause problem with VLD until someone can look at why
CreateXvMCSurfaces isn't working proberly.

See #2 for a related problem.





More information about the mythtv-commits mailing list