Skip to content
Permalink
Browse files
check_input_video only in simple mode
  • Loading branch information
Xiangfu Liu committed Sep 21, 2011
1 parent 2776d11 commit 9523567c8bdc07b750e6b922e5c0d3acf90865f6
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/performance.c
@@ -523,16 +523,17 @@ void start_performance(int simple, int dt, int as)
if(started) return;
started = 1;

input_video = 1;
simple_mode = simple;
dt_mode = dt;
as_mode = as;
input_video = check_input_video();
open_performance_window();

/* build patch list */
npatches = 0;
current_patch = 0;
if(simple) {
input_video = check_input_video();
add_simple_patches();
if(npatches < 1) {
messagebox("Error", "No patches found!");

0 comments on commit 9523567

Please sign in to comment.