Fix build.
authorCarl Hetherington <cth@carlh.net>
Tue, 30 Oct 2012 01:26:37 +0000 (01:26 +0000)
committerCarl Hetherington <cth@carlh.net>
Tue, 30 Oct 2012 01:26:37 +0000 (01:26 +0000)
src/lib/ffmpeg_decoder.cc

index 98fd4f576531adcbe44bb673a0b1c0cee1d7e747..221f5d9d7588d082c1e50b2d3f37d8fad6093c01 100644 (file)
@@ -277,7 +277,7 @@ FFmpegDecoder::do_pass ()
                        if (delta > one_frame) {
                                int const extra = rint (delta / one_frame);
                                for (int i = 0; i < extra; ++i) {
-                                       _log->log (String::compose ("Extra frame inserted at %1s", out_pts_seconds));
+                                       _film->log()->log (String::compose ("Extra frame inserted at %1s", out_pts_seconds));
                                        process_video (_frame);
                                }
                        }
@@ -287,7 +287,7 @@ FFmpegDecoder::do_pass ()
                                process_video (_frame);
                        } else {
                                /* Otherwise we are omitting a frame to keep things right */
-                               _log->log (String::compose ("Frame removed at %1s", out_pts_seconds));
+                               _film->log()->log (String::compose ("Frame removed at %1s", out_pts_seconds));
                        }
                }