Skip to content

Commit 9523567

Browse files
author
Xiangfu Liu
committedSep 21, 2011
check_input_video only in simple mode
1 parent 2776d11 commit 9523567

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/performance.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -523,16 +523,17 @@ void start_performance(int simple, int dt, int as)
523523
if(started) return;
524524
started = 1;
525525

526+
input_video = 1;
526527
simple_mode = simple;
527528
dt_mode = dt;
528529
as_mode = as;
529-
input_video = check_input_video();
530530
open_performance_window();
531531

532532
/* build patch list */
533533
npatches = 0;
534534
current_patch = 0;
535535
if(simple) {
536+
input_video = check_input_video();
536537
add_simple_patches();
537538
if(npatches < 1) {
538539
messagebox("Error", "No patches found!");

0 commit comments

Comments
 (0)
Please sign in to comment.