Logging improvements to allow prettier displays in the server GUI.
[dcpomatic.git] / src / lib / player.cc
index 5e0d3b315b01f96d6d7e92f947d1e0e025b2f3f6..0606a9340c9d1d6e51cd3f4e0d2ac906a090edf5 100644 (file)
@@ -57,7 +57,7 @@
 
 #include "i18n.h"
 
-#define LOG_GENERAL(...) _film->log()->log (String::compose (__VA_ARGS__), Log::TYPE_GENERAL);
+#define LOG_GENERAL(...) _film->log()->log (String::compose (__VA_ARGS__), LogEntry::TYPE_GENERAL);
 
 using std::list;
 using std::cout;
@@ -167,6 +167,11 @@ Player::setup_pieces ()
                        }
                }
 
+               /* It's questionable whether subtitle content should have a video frame rate; perhaps
+                  it should be assumed that any subtitle content has been prepared at the same rate
+                  as simultaneous video content (like we do with audio).
+               */
+
                /* SubRipContent */
                shared_ptr<const SubRipContent> rc = dynamic_pointer_cast<const SubRipContent> (i);
                if (rc) {