Add an enum type for each renderer

This commit is contained in:
Cameron Gutman 2025-02-18 18:58:04 -06:00
commit 351aaa6759
17 changed files with 56 additions and 31 deletions

View file

@ -1,7 +1,8 @@
#include "genhwaccel.h"
GenericHwAccelRenderer::GenericHwAccelRenderer(AVHWDeviceType hwDeviceType)
: m_HwDeviceType(hwDeviceType),
: IFFmpegRenderer(RendererType::Unknown),
m_HwDeviceType(hwDeviceType),
m_HwContext(nullptr)
{