new notcurses ii test video #1055

pull/1060/head
nick black 4 years ago
parent 68dbfeafc8
commit 1fe53d98fb
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

@ -79,7 +79,7 @@ int xray_demo(struct notcurses* nc){
if(n == NULL){
return -1;
}
char* path = find_data("notcursesI.avi");
char* path = find_data("notcursesII.mkv");
struct ncvisual* ncv = ncvisual_from_file(path);
free(path);
if(ncv == NULL){

@ -81,7 +81,7 @@ TEST_CASE("Visual") {
if(notcurses_canopen_videos(nc_)){
int dimy, dimx;
ncplane_dim_yx(ncp_, &dimy, &dimx);
auto ncv = ncvisual_from_file(find_data("notcursesI.avi"));
auto ncv = ncvisual_from_file(find_data("notcursesII.mkv"));
REQUIRE(ncv);
for(;;){ // run at the highest speed we can
int ret = ncvisual_decode(ncv);
@ -105,7 +105,7 @@ TEST_CASE("Visual") {
if(notcurses_canopen_videos(nc_)){
int dimy, dimx;
ncplane_dim_yx(ncp_, &dimy, &dimx);
auto ncv = ncvisual_from_file(find_data("notcursesI.avi"));
auto ncv = ncvisual_from_file(find_data("notcursesII.mkv"));
REQUIRE(ncv);
CHECK(0 == ncvisual_decode(ncv));
/*CHECK(dimy * 2 == frame->height);

Loading…
Cancel
Save