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

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Mon May 12 20:29:40 UTC 2008


      Author: danielk
        Date: 2008-05-12 20:29:40 +0000 (Mon, 12 May 2008)
New Revision: 17312
   Changeset: http://cvs.mythtv.org/trac/changeset/17312

Modified:

   trunk/mythtv/libs/libmyth/mythcontext.cpp
   trunk/mythtv/libs/libmyth/mythcontext.h
   trunk/mythtv/libs/libmythtv/avformatdecoder.cpp
   trunk/mythtv/libs/libmythtv/avformatdecoder.h
   trunk/mythtv/libs/libmythtv/videoout_null.cpp
   trunk/mythtv/libs/libmythtv/videooutbase.cpp

Log:

Refs #5346. Adds an optional ignoreDB param to MythContext init.


This optional param allows you to disable DB access by the GetSettings/SetSettings code. This allows you can write simple programs that use MythContext, but set the settings via command line parameters.

This setting is also respected by the two classes that create a VideoDisplayProfile, AvFormatDecoder and VideoOutput. (And VideoOutputNull, which uses the VideoDisplayProfile created by VideoOutput).

I'm using this for the commercial flagger to flag videos as a standalone program, but it would also be used for things like a firewire channel changer that used our firewire smarts but didn't touch the DB, or with the command line interface to the channel scanner in the channel scanner branch (which can emulate dvbscan output).

Unfortunately this changes the myth binary revision, so plugins will need to be relinked.




More information about the mythtv-commits mailing list