mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
fix up subject of libav test
This commit is contained in:
parent
6248714cd0
commit
df93b67b4e
@ -573,7 +573,7 @@ int widecolor_demo(struct notcurses* nc){
|
|||||||
ncspecial_key special;
|
ncspecial_key special;
|
||||||
cell c;
|
cell c;
|
||||||
do{ // (re)draw a screen
|
do{ // (re)draw a screen
|
||||||
ncplane_erase(n);
|
//ncplane_erase(n);
|
||||||
const int rollover = 256 / ((step & 0xff) | ((step & 0xff00) >> 8u)
|
const int rollover = 256 / ((step & 0xff) | ((step & 0xff00) >> 8u)
|
||||||
| ((step & 0xff0000) >> 16u));
|
| ((step & 0xff0000) >> 16u));
|
||||||
int rollcount = 0; // number of times we've added this step
|
int rollcount = 0; // number of times we've added this step
|
||||||
|
@ -49,7 +49,7 @@ TEST_F(LibavTest, LoadVideo) {
|
|||||||
int averr;
|
int averr;
|
||||||
int dimy, dimx;
|
int dimy, dimx;
|
||||||
ncplane_dim_yx(ncp_, &dimy, &dimx);
|
ncplane_dim_yx(ncp_, &dimy, &dimx);
|
||||||
auto ncv = ncplane_visual_open(ncp_, "../tests/atliens.mkv", &averr);
|
auto ncv = ncplane_visual_open(ncp_, "../tests/bob.mkv", &averr);
|
||||||
EXPECT_EQ(0, averr);
|
EXPECT_EQ(0, averr);
|
||||||
ASSERT_NE(nullptr, ncv);
|
ASSERT_NE(nullptr, ncv);
|
||||||
auto frame = ncvisual_decode(ncv, &averr);
|
auto frame = ncvisual_decode(ncv, &averr);
|
||||||
|
Loading…
Reference in New Issue
Block a user