Try to fix build with new g++.
authorCarl Hetherington <cth@carlh.net>
Fri, 6 Nov 2015 10:49:18 +0000 (10:49 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 6 Nov 2015 10:49:18 +0000 (10:49 +0000)
src/lib/video_content.h

index aa541fc32b85bd05f870d7a0776ee5a3427e54e5..309fa067072fcc2ed5eecee98abab55a072d0095 100644 (file)
@@ -86,7 +86,7 @@ public:
         */
        bool has_own_video_frame_rate () const {
                boost::mutex::scoped_lock lm (_mutex);
-               return _video_frame_rate;
+               return static_cast<bool>(_video_frame_rate);
        }
 
        void set_video_frame_type (VideoFrameType);