X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=futatabi%2Fvideo_stream.cpp;h=87e843ae1e8d61ea7bdd8ae5e9c6822fe304e22b;hb=5c1bc79d6c26c96cb8d2195ae8ef457c30ed364a;hp=1957d8410d7a514618a9e51ad345ee933724d9ee;hpb=fab8ee8dffc0e87eb6927dd60004140b158d62ba;p=nageru diff --git a/futatabi/video_stream.cpp b/futatabi/video_stream.cpp index 1957d84..87e843a 100644 --- a/futatabi/video_stream.cpp +++ b/futatabi/video_stream.cpp @@ -447,7 +447,7 @@ void VideoStream::schedule_interpolated_frame(steady_clock::time_point local_pts shared_ptr frame2 = decode_jpeg_with_cache(secondary_frame, DECODE_IF_NOT_IN_CACHE, &frame_reader, &did_decode); // Then fade against it, putting it into the fade Y' and CbCr textures. - ycbcr_semiplanar_converter->prepare_chain_for_fade_from_texture(qf.output_tex, frame2, fade_alpha)->render_to_fbo(resources->fade_fbo, 1280, 720); + ycbcr_semiplanar_converter->prepare_chain_for_fade_from_texture(qf.output_tex, 1280, 720, frame2, fade_alpha)->render_to_fbo(resources->fade_fbo, 1280, 720); // Subsample and split Cb/Cr. chroma_subsampler->subsample_chroma(resources->fade_cbcr_output_tex, 1280, 720, resources->cb_tex, resources->cr_tex);