Permalink
Browse files

Do not create VDPAU profiles by default

Also fix compilation failure on non VDPAU-system (e.g. macs)
  • Loading branch information...
jyavenard committed Apr 14, 2012
1 parent 75c011a commit 6466615caf9a8554dd006a3acef50e779e20bafa
Showing with 2 additions and 0 deletions.
  1. +2 −0 mythtv/libs/libmythtv/videodisplayprofile.cpp
@@ -1193,7 +1193,9 @@ void VideoDisplayProfile::CreateVAAPIProfiles(const QString &hostname)
void VideoDisplayProfile::CreateProfiles(const QString &hostname)
{
CreateNewProfiles(hostname);
+#if defined(USING_VDPAU)
CreateVDPAUProfiles(hostname);
+#endif
}
QStringList VideoDisplayProfile::GetVideoRenderers(const QString &decoder)

0 comments on commit 6466615

Please sign in to comment.