|
|
|
@ -15,6 +15,7 @@ view_video_demo(struct notcurses* nc){
|
|
|
|
|
struct ncvisual_options vopts = {
|
|
|
|
|
.scaling = NCSCALE_STRETCH,
|
|
|
|
|
.n = ncp,
|
|
|
|
|
.blitter = NCBLIT_2x2,
|
|
|
|
|
};
|
|
|
|
|
int ret = ncvisual_stream(nc, ncv, &err, 2.0/3.0 * delaymultiplier,
|
|
|
|
|
demo_simple_streamer, &vopts, NULL);
|
|
|
|
@ -79,6 +80,7 @@ view_images(struct notcurses* nc, struct ncplane* nstd, int dimy, int dimx){
|
|
|
|
|
struct ncvisual_options vopts = {
|
|
|
|
|
.n = dsplane,
|
|
|
|
|
.scaling = NCSCALE_STRETCH,
|
|
|
|
|
.blitter = NCBLIT_2x2,
|
|
|
|
|
};
|
|
|
|
|
if(ncvisual_render(nc, ncv2, &vopts) == NULL){
|
|
|
|
|
ncvisual_destroy(ncv2);
|
|
|
|
|