mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
convert fm6.mkv -> fm6.mov
This commit is contained in:
parent
7b19c4eb8e
commit
4d4487d7b4
BIN
data/fm6.mkv
BIN
data/fm6.mkv
Binary file not shown.
BIN
data/fm6.mov
Normal file
BIN
data/fm6.mov
Normal file
Binary file not shown.
@ -37,7 +37,7 @@ static int
|
|||||||
view_video_demo(struct notcurses* nc){
|
view_video_demo(struct notcurses* nc){
|
||||||
struct ncplane* ncp = notcurses_stdplane(nc);
|
struct ncplane* ncp = notcurses_stdplane(nc);
|
||||||
struct ncvisual* ncv;
|
struct ncvisual* ncv;
|
||||||
char* fm6 = find_data("fm6.mkv");
|
char* fm6 = find_data("fm6.mov");
|
||||||
ncv = ncvisual_from_file(fm6);
|
ncv = ncvisual_from_file(fm6);
|
||||||
if(!ncv){
|
if(!ncv){
|
||||||
free(fm6);
|
free(fm6);
|
||||||
|
@ -353,7 +353,7 @@ TEST_CASE("Media") {
|
|||||||
if(notcurses_canopen_videos(nc_)){
|
if(notcurses_canopen_videos(nc_)){
|
||||||
unsigned dimy, dimx;
|
unsigned dimy, dimx;
|
||||||
ncplane_dim_yx(ncp_, &dimy, &dimx);
|
ncplane_dim_yx(ncp_, &dimy, &dimx);
|
||||||
auto ncv = ncvisual_from_file(find_data("fm6.wmv").get());
|
auto ncv = ncvisual_from_file(find_data("fm6.mov").get());
|
||||||
REQUIRE(ncv);
|
REQUIRE(ncv);
|
||||||
CHECK(0 == ncvisual_decode(ncv));
|
CHECK(0 == ncvisual_decode(ncv));
|
||||||
/*CHECK(dimy * 2 == frame->height);
|
/*CHECK(dimy * 2 == frame->height);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user