Skip to content

Commit

Permalink
libmythtv: Make sure a few MythVideoOutput subclasses are QObjects
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kendall committed Oct 9, 2020
1 parent 873d1d8 commit 9552585
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/libs/libmythtv/mythvideooutgpu.h
Expand Up @@ -10,6 +10,8 @@ class MythPainterGPU;

class MythVideoOutputGPU : public MythVideoOutput
{
Q_OBJECT

public:
static MythVideoOutputGPU* Create(MythMainWindow* MainWindow, const QString& Decoder,
MythCodecID CodecID, const QSize& VideoDim,
Expand Down
2 changes: 2 additions & 0 deletions mythtv/libs/libmythtv/opengl/mythvideooutopengl.h
Expand Up @@ -11,6 +11,8 @@ class MythOpenGLPerf;

class MythVideoOutputOpenGL : public MythVideoOutputGPU
{
Q_OBJECT

public:
enum TextureFormats
{
Expand Down
2 changes: 2 additions & 0 deletions mythtv/libs/libmythtv/vulkan/mythvideooutputvulkan.h
Expand Up @@ -12,6 +12,8 @@ class MythVideoVulkan;

class MythVideoOutputVulkan : public MythVideoOutputGPU, public MythVulkanObject
{
Q_OBJECT

public:
static void GetRenderOptions (RenderOptions& Options);
static QStringList GetAllowedRenderers (MythCodecID CodecId);
Expand Down

0 comments on commit 9552585

Please sign in to comment.