Prevent selection of too few DCP channels (#611).
[dcpomatic.git] / src / lib / film.h
index f9dc0ed9ce7e40df64324b80ed315978da9dab27..a1daebe783f854d5e422a44bbc6dad47985cd0f2 100644 (file)
@@ -223,9 +223,7 @@ public:
                return _video_frame_rate;
        }
 
-       int audio_channels () const {
-               return _audio_channels;
-       }
+       int audio_channels () const;
 
        bool three_d () const {
                return _three_d;
@@ -326,7 +324,9 @@ private:
        int _video_frame_rate;
        /** The date that we should use in a ISDCF name */
        boost::gregorian::date _isdcf_date;
-       /** Number of audio channels to put in the DCP */
+       /** Number of audio channels requested for the DCP; this will be overridden
+           if we are using an audio processor which outputs more channels.
+       */
        int _audio_channels;
        /** If true, the DCP will be written in 3D mode; otherwise in 2D.
            This will be regardless of what content is on the playlist.