[mythtv-commits] mythtv commit: r23398 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Jan 31 13:09:34 UTC 2010


      Author: markk
        Date: 2010-01-31 13:09:34 +0000 (Sun, 31 Jan 2010)
New Revision: 23398
   Changeset: http://svn.mythtv.org/trac/changeset/23398

Modified:

   trunk/mythtv/libs/libmythtv/videooutbase.cpp

Log:

Don't try and switch renderer if the video resolution is unchanged.

VideoOutput::IsPreferredRender() was originally designed to check that
the user's chosen renderer was being used for a given video resolution.
I failed to consider that the current renderer may not be the original
choice for that resolution (e.g. broken profile, failed VideoOutput
initialisation etc) and hence all types of input change (e.g. aspect
ratio) would trigger a re-initialisation. If the current renderer is
displaying the current video resolution, there is probably a good reason
for it!

Implicated in #7967 and #7779 and no doubt a few other tickets.





More information about the mythtv-commits mailing list