Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't display null renderers in setup.

Skip the nullvaapi and nullvdpau renderers, added in 42d9577 and
a0f824e , when creating the list of renderers for users to choose in
setup.  This simply extends the approach used to handle the null
renderer for the new hardware-specific null renderers.

Signed-off-by: Michael T. Dean <mdean@mythtv.org>
  • Loading branch information...
commit bdfcabc84ca40713d0e91aa5307f5a5a4055dc49 1 parent 643ad3e
Karl Dietz dekarl authored sphery committed
3  mythtv/libs/libmythtv/videodisplayprofile.cpp
View
@@ -1209,7 +1209,8 @@ QString VideoDisplayProfile::GetVideoRendererHelp(const QString &renderer)
if (renderer.isEmpty())
return msg;
- if (renderer == "null")
+ if ((renderer == "null") || (renderer == "nullvaapi") ||
+ (renderer == "nullvdpau"))
msg = QObject::tr(
"Render video offscreen. Used internally.");
2  mythtv/programs/mythfrontend/globalsettings.cpp
View
@@ -726,7 +726,7 @@ void PlaybackProfileItemConfig::decoderChanged(const QString &dec)
vidrend->clearSelections();
for (it = renderers.begin(); it != renderers.end(); ++it)
{
- if (*it != "null")
+ if ((*it != "null") && (*it != "nullvaapi") && (*it != "nullvdpau"))
vidrend->addSelection(*it, *it, (*it == prenderer));
}
Please sign in to comment.
Something went wrong with that request. Please try again.