Ticket #3704: mythmusic-autovis.patch

File mythmusic-autovis.patch, 901 bytes (added by maverik044, 12 years ago)
  • mythmusic/mythmusic/playbackbox.cpp

    old new void PlaybackBoxMusic::CycleVisualizer() 
    13411341        }
    13421342
    13431343        //Change to the new visualizer
    1344         visual_mode_timer->stop();
     1344        resetTimer();
    13451345        mainvisual->setVisual("Blank");
    13461346        mainvisual->setVisual(visual_modes[current_visual]);
    13471347    }
    void PlaybackBoxMusic::CycleVisualizer() 
    13511351        // If only the AlbumArt visualization is selected, then go ahead and
    13521352        // restart the visualization.  This will give AlbumArt the opportunity
    13531353        // to change images if there are multiple images available.
    1354         visual_mode_timer->stop();
     1354        resetTimer();
    13551355        mainvisual->setVisual("Blank");
    13561356        mainvisual->setVisual(visual_modes[current_visual]);
    13571357    }