We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e968b4 commit 807e58aCopy full SHA for 807e58a
mythtv/libs/libmythtv/visualisations/videovisual.cpp
@@ -13,8 +13,10 @@
13
14
bool VideoVisual::CanVisualise(AudioPlayer *audio, MythRender *render)
15
{
16
+ if (!audio)
17
+ return false;
18
#ifdef FFTW3_SUPPORT
- if (render && audio->GetNumChannels() == 2)
19
+ if (render && (audio->GetNumChannels() == 2 || audio->GetNumChannels() == 1))
20
return true;
21
#endif
22
return false;
0 commit comments