Skip to content

Commit

Permalink
test: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dudemanguy committed Jan 3, 2024
1 parent ab5b250 commit b9c9868
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/libmpv_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ static void test_file_loading(char *file)
{
const char *cmd[] = {"loadfile", file, NULL};
check_api_error(mpv_command(ctx, cmd));
int loaded = 0;
/*int loaded = 0;
int finished = 0;
while (!finished) {
mpv_event *event = mpv_wait_event(ctx, 0);
Expand All @@ -164,10 +164,10 @@ static void test_file_loading(char *file)
}
}
if (!finished)
fail("Unable to load test file!\n");
fail("Unable to load test file!\n");*/
}

static void test_lavfi_complex(char *file)
/*static void test_lavfi_complex(char *file)
{
const char *cmd[] = {"loadfile", file, NULL};
check_api_error(mpv_command(ctx, cmd));
Expand All @@ -194,7 +194,7 @@ static void test_lavfi_complex(char *file)
}
if (!finished)
fail("Lavfi complex failed!\n");
}
}*/

// Ensure that setting options/properties work correctly and
// have the expected values.
Expand Down Expand Up @@ -263,8 +263,8 @@ int main(int argc, char *argv[])
test_options_and_properties();
printf(fmt, "test_file_loading");
test_file_loading(argv[1]);
printf(fmt, "test_lavfi_complex");
test_lavfi_complex(argv[1]);
// printf(fmt, "test_lavfi_complex");
// test_lavfi_complex(argv[1]);

mpv_destroy(ctx);
return 0;
Expand Down

0 comments on commit b9c9868

Please sign in to comment.