diff --git a/data/notcursesIII.mkv b/data/notcursesIII.mkv deleted file mode 100644 index 0be419917..000000000 Binary files a/data/notcursesIII.mkv and /dev/null differ diff --git a/data/notcursesIII.mov b/data/notcursesIII.mov new file mode 100644 index 000000000..122ca3803 Binary files /dev/null and b/data/notcursesIII.mov differ diff --git a/src/demo/xray.c b/src/demo/xray.c index 5061a379d..000c599d4 100644 --- a/src/demo/xray.c +++ b/src/demo/xray.c @@ -168,7 +168,7 @@ int xray_demo(struct notcurses* nc){ unsigned dimx, dimy; notcurses_term_dim_yx(nc, &dimy, &dimx); ncplane_erase(notcurses_stdplane(nc)); - char* path = find_data("notcursesIII.mkv"); + char* path = find_data("notcursesIII.mov"); struct ncvisual* ncv1 = ncvisual_from_file(path); struct ncvisual* ncv2 = ncvisual_from_file(path); free(path); diff --git a/src/tests/media.cpp b/src/tests/media.cpp index 6e1f4aa8b..385e40be4 100644 --- a/src/tests/media.cpp +++ b/src/tests/media.cpp @@ -139,7 +139,7 @@ TEST_CASE("Media") { if(notcurses_canopen_videos(nc_)){ unsigned dimy, dimx; ncplane_dim_yx(ncp_, &dimy, &dimx); - auto ncv = ncvisual_from_file(find_data("notcursesIII.mkv").get()); + auto ncv = ncvisual_from_file(find_data("notcursesIII.mov").get()); REQUIRE(ncv); // FIXME can't we use use ncvisual_stream() here? for(;;){ // run at the highest speed we can @@ -163,7 +163,7 @@ TEST_CASE("Media") { if(notcurses_canopen_videos(nc_)){ unsigned dimy, dimx; ncplane_dim_yx(ncp_, &dimy, &dimx); - auto ncv = ncvisual_from_file(find_data("notcursesIII.mkv").get()); + auto ncv = ncvisual_from_file(find_data("notcursesIII.mov").get()); REQUIRE(ncv); for(;;){ // run at the highest speed we can int ret = ncvisual_decode(ncv); @@ -187,7 +187,7 @@ TEST_CASE("Media") { if(notcurses_canopen_videos(nc_)){ unsigned dimy, dimx; ncplane_dim_yx(ncp_, &dimy, &dimx); - auto ncv = ncvisual_from_file(find_data("notcursesIII.mkv").get()); + auto ncv = ncvisual_from_file(find_data("notcursesIII.mov").get()); REQUIRE(ncv); for(;;){ // run at the highest speed we can int ret = ncvisual_decode(ncv); @@ -210,7 +210,7 @@ TEST_CASE("Media") { if(notcurses_canopen_videos(nc_)){ unsigned dimy, dimx; ncplane_dim_yx(ncp_, &dimy, &dimx); - auto ncv = ncvisual_from_file(find_data("notcursesIII.mkv").get()); + auto ncv = ncvisual_from_file(find_data("notcursesIII.mov").get()); REQUIRE(ncv); for(;;){ // run at the highest speed we can int ret = ncvisual_decode(ncv); @@ -233,7 +233,7 @@ TEST_CASE("Media") { if(notcurses_canopen_videos(nc_)){ unsigned dimy, dimx; ncplane_dim_yx(ncp_, &dimy, &dimx); - auto ncv = ncvisual_from_file(find_data("notcursesIII.mkv").get()); + auto ncv = ncvisual_from_file(find_data("notcursesIII.mov").get()); REQUIRE(ncv); for(;;){ // run at the highest speed we can int ret = ncvisual_decode(ncv); @@ -258,7 +258,7 @@ TEST_CASE("Media") { if(notcurses_canopen_videos(nc_)){ unsigned dimy, dimx; ncplane_dim_yx(ncp_, &dimy, &dimx); - auto ncv = ncvisual_from_file(find_data("notcursesIII.mkv").get()); + auto ncv = ncvisual_from_file(find_data("notcursesIII.mov").get()); REQUIRE(ncv); ncplane_options nopts{}; // shrink it down so this test runs more quickly @@ -294,7 +294,7 @@ TEST_CASE("Media") { if(notcurses_canopen_videos(nc_)){ unsigned dimy, dimx; ncplane_dim_yx(ncp_, &dimy, &dimx); - auto ncv = ncvisual_from_file(find_data("notcursesIII.mkv").get()); + auto ncv = ncvisual_from_file(find_data("notcursesIII.mov").get()); REQUIRE(ncv); for(;;){ // run at the highest speed we can int ret = ncvisual_decode(ncv); @@ -326,7 +326,7 @@ TEST_CASE("Media") { if(notcurses_canopen_videos(nc_)){ unsigned dimy, dimx; ncplane_dim_yx(ncp_, &dimy, &dimx); - auto ncv = ncvisual_from_file(find_data("notcursesIII.mkv").get()); + auto ncv = ncvisual_from_file(find_data("notcursesIII.mov").get()); REQUIRE(ncv); int ret; while((ret = ncvisual_decode(ncv)) == 0){ @@ -353,7 +353,7 @@ TEST_CASE("Media") { if(notcurses_canopen_videos(nc_)){ unsigned dimy, dimx; ncplane_dim_yx(ncp_, &dimy, &dimx); - auto ncv = ncvisual_from_file(find_data("notcursesIII.mkv").get()); + auto ncv = ncvisual_from_file(find_data("fm6.wmv").get()); REQUIRE(ncv); CHECK(0 == ncvisual_decode(ncv)); /*CHECK(dimy * 2 == frame->height);