[mythtv-commits] mythtv/master commit: be25039cd by Mark Kendall (mark-kendall)

MythTV noreply at mythtv.org
Sun Jun 12 15:26:29 UTC 2011


      Author:  Mark Kendall <mkendall at mythtv.org>
 Change Date:  2011-06-12T08:26:10-07:00
   Push Date:  2011/06/12 08:26:24 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  be25039cd6e511bedc550dcede34794bb5d39671
   Changeset:  https://github.com/MythTV/mythtv/commit/be25039cd

Log:

OSD: Fix subtitle window painting order.

The order of iterating over a QHash is arbitrary and the fact that
subtitle and interactive screens have (mostly) been drawn in the correct
order since the OSD re-write is pure luck.

So switch to a QMap which, while marginally slower, will order on the
basis of the key (QString) and force the subtitle/interactive screens to
be painted first by adding some numerics to their identifiers.

Should fix the ordering issue seen in #9822 and occasionally in the yet
to be enabled blu-ray HDMV navigation mode.

Refs #9822

Modified:

   mythtv/libs/libmythtv/osd.cpp
   mythtv/libs/libmythtv/osd.h



More information about the mythtv-commits mailing list