renderer: improved handling of pixel aspect ratio and footage cache

This commit is contained in:
itsmattkc
2020-08-21 14:43:13 +10:00
parent 416ba8e2b2
commit f6760386ce
12 changed files with 122 additions and 73 deletions
@@ -64,6 +64,8 @@ OpenGLTextureCache::ReferencePtr OpenGLTextureCache::Get(QOpenGLContext* ctx, co
texture->Create(ctx, params);
}
texture->SetPixelAspectRatio(params.pixel_aspect_ratio());
ReferencePtr ref = std::make_shared<Reference>(this, texture);
existing_references_.append(ref.get());