projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6569301
)
fix possible endless loop in silence detection
author
Robin Gareus
<robin@gareus.org>
Sat, 19 Sep 2015 16:31:41 +0000
(18:31 +0200)
committer
Robin Gareus
<robin@gareus.org>
Sat, 19 Sep 2015 17:00:43 +0000
(19:00 +0200)
gtk2_ardour/editor_ops.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_ops.cc
b/gtk2_ardour/editor_ops.cc
index d536bf94d5540d4c42c4ae7bce72a96dde72808e..572cbe3981539ca1066ec85ef8c5165352fe8e78 100644
(file)
--- a/
gtk2_ardour/editor_ops.cc
+++ b/
gtk2_ardour/editor_ops.cc
@@
-5177,6
+5177,8
@@
Editor::strip_region_silence ()
}
}
+ assert (!audio_only.empty());
+
StripSilenceDialog d (_session, audio_only);
int const r = d.run ();
@@
-5469,9
+5471,6
@@
Editor::apply_filter (Filter& filter, string command, ProgressReporter* progress
_session->add_commands (cmds);
_session->add_command(new StatefulDiffCommand (playlist));
-
- } else {
- continue;
}
if (progress) {