diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-01 22:40:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-01 22:40:49 +0100 |
| commit | 744d20add3a3be77b9424fd73e9dcd8b146fc23a (patch) | |
| tree | 2f53de17ee33518e114fbcc00cc8228e470f61dc /src/lib/trimmer.cc | |
| parent | 3fa1dc2bc3d353692ea9b2cd9cdb685dd94b85f4 (diff) | |
| parent | 533443c335cbd8c3dc24591976e63003308aaf9a (diff) | |
Merge branch 'master' of ssh://houllier/home/carl/git/dvdomatic
Diffstat (limited to 'src/lib/trimmer.cc')
| -rw-r--r-- | src/lib/trimmer.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/trimmer.cc b/src/lib/trimmer.cc index 1ec9e2a5b..99f04793f 100644 --- a/src/lib/trimmer.cc +++ b/src/lib/trimmer.cc @@ -62,8 +62,15 @@ Trimmer::Trimmer ( the current set of regression tests). This could be removed if a) the regression tests are regenerated and b) I can work out what DCP length should be. + + There is also a problem whereby black video frames inserted + at the start of the output by the matcher are not taken into account, + so if black frames are inserted it means more gets trimmed off the + end than should be. Hack around this in similar fashion with the + _video_end = INT_MAX line. */ if (video_trim_end == 0) { + _video_end = INT_MAX; _audio_end = INT64_MAX; } } |
