Skip to content

Commit

Permalink
MMAL: Fix direct render detection
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kendall committed Nov 20, 2019
1 parent fb4824c commit 44299c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/decoders/mythcodeccontext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ void MythCodecContext::GetDecoders(RenderOptions &Opts)
#ifdef USING_MMAL
Opts.decoders->append("mmal-dec");
(*Opts.equiv_decoders)["mmal-dec"].append("dummy");
if (MythOpenGLInterop::GetInteropType(kCodec_H264_MMAL) != MythOpenGLInterop::Unsupported)
if (MythOpenGLInterop::GetInteropType(FMT_MMAL) != MythOpenGLInterop::Unsupported)
{
Opts.decoders->append("mmal");
(*Opts.equiv_decoders)["mmal"].append("dummy");
Expand Down

0 comments on commit 44299c3

Please sign in to comment.