Skip to content
Browse files

[WIN] fail CHD codec for AVC1 when driver is too old

  • Loading branch information...
1 parent 92224b0 commit 05db50a94f3dbe0c0cd2001a049cd6d3e973e859 @CrystalP committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 xbmc/cores/dvdplayer/DVDCodecs/Video/CrystalHD.cpp
View
3 xbmc/cores/dvdplayer/DVDCodecs/Video/CrystalHD.cpp
@@ -1240,6 +1240,9 @@ bool CCrystalHD::OpenDecoder(CRYSTALHD_CODEC_TYPE codec_type, CDVDStreamInfo &hi
{
CGUIDialogKaiToast::QueueNotification(CGUIDialogKaiToast::Warning, "CrystalHD", g_localizeStrings.Get(2101));
CLog::Log(LOGWARNING, "CrystalHD drivers too old, please upgrade to 3.6.9 or later.");
+
+ if (codec_type == CRYSTALHD_CODEC_ID_AVC1)
+ return false;
}
#endif

0 comments on commit 05db50a

Please sign in to comment.
Something went wrong with that request. Please try again.