Skip to content

Commit

Permalink
VideoDisplayProfile: Cleanup header file
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kendall committed Sep 24, 2019
1 parent aedbd69 commit 6596487
Show file tree
Hide file tree
Showing 18 changed files with 540 additions and 554 deletions.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
Expand Up @@ -314,7 +314,7 @@ static int get_canonical_lang(const char *lang_cstr)
return iso639_key_to_canonical_key(lang);
}

void AvFormatDecoder::GetDecoders(render_opts &opts)
void AvFormatDecoder::GetDecoders(RenderOptions &opts)
{
opts.decoders->append("ffmpeg");
(*opts.equiv_decoders)["ffmpeg"].append("nuppel");
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/decoders/avformatdecoder.h
Expand Up @@ -93,7 +93,7 @@ class AvFormatDecoder : public DecoderBase
friend void HandleDVDStreamChange(void*);
friend void HandleBDStreamChange(void*);
public:
static void GetDecoders(render_opts &opts);
static void GetDecoders(RenderOptions &opts);
AvFormatDecoder(MythPlayer *parent, const ProgramInfo &pginfo,
PlayerFlags flags);
virtual ~AvFormatDecoder();
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/decoders/mythcodeccontext.cpp
Expand Up @@ -102,7 +102,7 @@ MythCodecContext *MythCodecContext::CreateContext(DecoderBase *Parent, MythCodec
return mctx;
}

void MythCodecContext::GetDecoders(render_opts &Opts)
void MythCodecContext::GetDecoders(RenderOptions &Opts)
{
#ifdef USING_VDPAU
// Only enable VDPAU support if it is actually present
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/decoders/mythcodeccontext.h
Expand Up @@ -53,7 +53,7 @@ class MTV_PUBLIC MythCodecContext
virtual ~MythCodecContext() = default;

static MythCodecContext* CreateContext (DecoderBase *Parent, MythCodecID Codec);
static void GetDecoders (render_opts &Opts);
static void GetDecoders (RenderOptions &Opts);
static MythCodecID FindDecoder (const QString &Decoder, AVStream *Stream,
AVCodecContext **Context, AVCodec **Codec);
static int GetBuffer (struct AVCodecContext *Context, AVFrame *Frame, int Flags);
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/decoders/privatedecoder.cpp
@@ -1,6 +1,6 @@
#include "privatedecoder.h"

void PrivateDecoder::GetDecoders(render_opts &opts)
void PrivateDecoder::GetDecoders(RenderOptions &opts)
{
Q_UNUSED(opts);
}
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/decoders/privatedecoder.h
Expand Up @@ -18,7 +18,7 @@ extern "C" {
class PrivateDecoder
{
public:
static void GetDecoders(render_opts &opts);
static void GetDecoders(RenderOptions &opts);
static PrivateDecoder* Create(const QString &decoder,
PlayerFlags flags,
AVCodecContext *avctx);
Expand Down

0 comments on commit 6596487

Please sign in to comment.