mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
new notcurses ii test video #1055
This commit is contained in:
parent
68dbfeafc8
commit
1fe53d98fb
Binary file not shown.
4696
data/notcursesI.osp
4696
data/notcursesI.osp
File diff suppressed because it is too large
Load Diff
BIN
data/notcursesII.mkv
Normal file
BIN
data/notcursesII.mkv
Normal file
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…
x
Reference in New Issue
Block a user