A bit more logging.
authorCarl Hetherington <cth@carlh.net>
Sun, 6 Jan 2013 23:18:31 +0000 (23:18 +0000)
committerCarl Hetherington <cth@carlh.net>
Sun, 6 Jan 2013 23:18:31 +0000 (23:18 +0000)
src/lib/film.cc
src/lib/film.h

index 1abf8e91f0ad780f8fbdfc8d929caec66c75dfaa..7daf825af3296b62fc3a20fab3e0db5beb1ccc3b 100644 (file)
@@ -245,6 +245,8 @@ Film::make_dcp (bool transcode)
                char buffer[128];
                gethostname (buffer, sizeof (buffer));
                log()->log (String::compose ("Starting to make DCP on %1", buffer));
+               log()->log (String::compose ("Content is %1; type %2", content_path(), (content_type() == STILL ? "still" : "video")));
+               log()->log (String::compose ("Content length %1", length()));
        }
                
        if (format() == 0) {
index b8a824233b79608b1fd116b7b9da7de14eb38c8a..eb199784edbdaed4813904b88f528c6d6f548839 100644 (file)
@@ -458,7 +458,7 @@ private:
 
        /** Size, in pixels, of the source (ignoring cropping) */
        Size _size;
-       /** Actual length of the source (in video frames) from examining it */
+       /** The length of the source, in video frames (as far as we know) */
        boost::optional<SourceFrame> _length;
        /** MD5 digest of our content file */
        std::string _content_digest;