X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdelay_line.cc;h=f6af6f9b12a2b51e1bdad65ffe9b5590f1ed101d;hb=23945ac9d84e2f77a08591604ec1244535548147;hp=9e6baeba8131f0ebe671f0b9d3112466bfe1e5f8;hpb=bd58b201c3e45b44e804ce040cac9e6a8c26736e;p=dcpomatic.git diff --git a/src/lib/delay_line.cc b/src/lib/delay_line.cc index 9e6baeba8..f6af6f9b1 100644 --- a/src/lib/delay_line.cc +++ b/src/lib/delay_line.cc @@ -37,7 +37,7 @@ DelayLine::DelayLine (shared_ptr log, double seconds) } void -DelayLine::process_audio (shared_ptr data, double t) +DelayLine::process_audio (shared_ptr data, double t) { if (_seconds > 0) { t += _seconds; @@ -47,10 +47,10 @@ DelayLine::process_audio (shared_ptr data, double t) } void -DelayLine::process_video (boost::shared_ptr image, bool same, boost::shared_ptr sub, double t) +DelayLine::process_video (shared_ptr image, bool same, boost::shared_ptr sub, double t) { if (_seconds < 0) { - t += _seconds; + t -= _seconds; } Video (image, same, sub, t);