cache: added cache task that can be manually invoked

This commit is contained in:
itsmattkc
2020-05-15 18:36:02 +10:00
parent 7c2280944b
commit 53a2956350
13 changed files with 346 additions and 76 deletions
+2
View File
@@ -106,6 +106,8 @@ void ViewerOutput::set_video_params(const VideoParams &video)
{
video_params_ = video;
video_frame_cache_.SetTimebase(video_params_.time_base());
emit SizeChanged(video_params_.width(), video_params_.height());
emit TimebaseChanged(video_params_.time_base());
emit ParamsChanged();