[mythtv-commits] mythtv/master commit: f8d2cbbe3 by Paul Harrison (paul-h)

MythTV noreply at mythtv.org
Wed Jan 11 13:57:08 UTC 2012


      Author:  Paul Harrison <pharrison at mythtv.org>
 Change Date:  2012-01-11T05:56:41-08:00
   Push Date:  2012/01/11 05:56:55 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  f8d2cbbe35a0679881365bfe61d6c5fdecb43322
   Changeset:  https://github.com/MythTV/mythtv/commit/f8d2cbbe3

Log:

MythMusic: Fix a crash when switching visualizers

Switching from Piano to Spectrum or Squares was causing various random crashes
caused by the FFTW lib using memory it shouldn't be using. The route cause is
the different sampling sizes used by Piano compared to the others.

This just sanity checks the VisualNodes samples length is sane before using it
and also (not really required but doen't hurt anything) remove all VisualNodes
for a fresh start when switching visualisers.

Modified:

   mythplugins/mythmusic/mythmusic/mainvisual.cpp
   mythplugins/mythmusic/mythmusic/visualize.cpp



More information about the mythtv-commits mailing list