Skip to content

Commit

Permalink
check_input_video only in simple mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiangfu Liu committed Sep 21, 2011
1 parent 2776d11 commit 9523567
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/performance.c
Expand Up @@ -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!");
Expand Down

0 comments on commit 9523567

Please sign in to comment.