summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Klemkow <j.klemkow@wemelug.de>2013-02-01 16:04:23 +0100
committerJan Klemkow <j.klemkow@wemelug.de>2013-02-01 16:04:23 +0100
commit85c623aae347dfe1aba264e7ad3824c01be8e9d1 (patch)
treedec0fb766c40480fb43149916c6c0588737a2543
parent774fcd4d9ec43b76352910eb4e7a620916b0052b (diff)
downloadadvtime-85c623aae347dfe1aba264e7ad3824c01be8e9d1.tar.gz
advtime-85c623aae347dfe1aba264e7ad3824c01be8e9d1.tar.bz2
advtime-85c623aae347dfe1aba264e7ad3824c01be8e9d1.zip
cuttime: use diff slope for cut detection
-rw-r--r--src/cuttime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuttime.c b/src/cuttime.c
index 51b80f9..2b591a6 100644
--- a/src/cuttime.c
+++ b/src/cuttime.c
@@ -116,7 +116,7 @@ main(int argc, char **argv)
printf("%f\t%f\t", diff, diff_slope);
}
- if (diff > 40.0) {
+ if (diff_slope > 20.0) {
start_new_szene(frame_a->dts, frame_b->dts);
if (!frame_flag && !average_flag) {