Clarify one log message and add another.
[dcpomatic.git] / src / lib / ffmpeg_decoder.cc
index 27b7aa7b7514e4cdcc20d9c2c79c0dd87cf873a5..8b07658ca427bd5e794bb4716b0b1e7f8ffcba01 100644 (file)
@@ -190,6 +190,7 @@ FFmpegDecoder::pass ()
           Hence it makes sense to continue here in that case.
        */
        if (r < 0 && r != AVERROR_INVALIDDATA) {
+               LOG_DEBUG_PLAYER("FFpmegDecoder::pass flushes because av_read_frame returned %1", r);
                if (r != AVERROR_EOF) {
                        /* Maybe we should fail here, but for now we'll just finish off instead */
                        char buf[256];