ChangeLog.
[dcpomatic.git] / src / lib / audio_decoder.cc
index c9fbddda1c4b120033ec1c3d630f7956966e405c..c0ef02f65d5ab5518dcb7e53aa145b1ff3f9a598 100644 (file)
@@ -48,10 +48,11 @@ AudioDecoder::audio (shared_ptr<const AudioBuffers> data, AudioContent::Frame fr
 }
 
 /** This is a bit odd, but necessary when we have (e.g.) FFmpegDecoders with no audio.
- *  The player needs to know that there is no audio otherwise it will keep prompting the XXX
+ *  The player needs to know that there is no audio otherwise it will keep trying to
+ *  pass() the decoder to get it to emit audio.
  */
 bool
 AudioDecoder::has_audio () const
 {
-       return _audio_content->channels () > 0;
+       return _audio_content->audio_channels () > 0;
 }