[mythtv-commits] mythtv commit: r7886 - in trunk/mythtv by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Nov 15 11:09:07 EST 2005


      Author: danielk
        Date: 2005-11-15 16:09:06 +0000 (Tue, 15 Nov 2005)
New Revision: 7886
   Changeset: http://cvs.mythtv.org/trac/changeset/7886

Modified:

   trunk/mythtv/libs/libmythtv/jobqueue.cpp
   trunk/mythtv/libs/libmythtv/previewgenerator.cpp
   trunk/mythtv/libs/libmythtv/previewgenerator.h
   trunk/mythtv/libs/libmythtv/tv_rec.cpp
   trunk/mythtv/libs/libmythtv/tv_rec.h
   trunk/mythtv/programs/mythbackend/mainserver.cpp

Log:

Closes #648.

This extends PreviewGenerator to create the previews itself
if the recording file is local.

And, this allows you to call Run() directly instead of calling 
Start(), and starting a thread. If you do call Run() and the
recording file is not local the preview generator uses the
MythContext sockets to the backend rather than creating its
own sockets. This is safe so long as the thread you are calling
from is the one communicating with the backend.






More information about the mythtv-commits mailing list