Merge branch 'resample-drop-frame'
[dcpomatic.git] / src / lib / decoder.cc
index 213ff9dd49888b693e93ddc6784d79d462e0f5d0..8aa5f77c6e9f7b2916fba1eba3f9b20688b9580b 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <iostream>
 #include <stdint.h>
+#include <boost/lexical_cast.hpp>
 extern "C" {
 #include <libavfilter/avfiltergraph.h>
 #include <libavfilter/buffersrc.h>
@@ -313,6 +314,7 @@ Decoder::process_video (AVFrame* frame)
                                image->make_black ();
                        }
 
+                       TIMING ("Decoder emits %1", _video_frame);
                        Video (image, _video_frame);
                        ++_video_frame;
                }