diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-03-21 00:05:48 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-03-21 00:05:54 +0100 |
commit | ab20306b70b10a860b566bf912487d1f8a6eb22e (patch) | |
tree | 2ce77f6c50572e64ac75bbd3bd50982d2835f718 /package/kodi/patches/patch-xbmc_cores_dvdplayer_DVDFileInfo_cpp | |
parent | f172737d165dd7c255e5020c0b57545ccb432bad (diff) |
kodi: add gentoo patches to work with ffmpeg3
Diffstat (limited to 'package/kodi/patches/patch-xbmc_cores_dvdplayer_DVDFileInfo_cpp')
-rw-r--r-- | package/kodi/patches/patch-xbmc_cores_dvdplayer_DVDFileInfo_cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/kodi/patches/patch-xbmc_cores_dvdplayer_DVDFileInfo_cpp b/package/kodi/patches/patch-xbmc_cores_dvdplayer_DVDFileInfo_cpp new file mode 100644 index 000000000..81f58c029 --- /dev/null +++ b/package/kodi/patches/patch-xbmc_cores_dvdplayer_DVDFileInfo_cpp @@ -0,0 +1,11 @@ +--- xbmc-16.0-Jarvis.orig/xbmc/cores/dvdplayer/DVDFileInfo.cpp 2016-02-20 16:21:19.000000000 +0100 ++++ xbmc-16.0-Jarvis/xbmc/cores/dvdplayer/DVDFileInfo.cpp 2016-03-19 18:38:18.662022310 +0100 +@@ -275,7 +275,7 @@ bool CDVDFileInfo::ExtractThumb(const st + + uint8_t *pOutBuf = new uint8_t[nWidth * nHeight * 4]; + struct SwsContext *context = sws_getContext(picture.iWidth, picture.iHeight, +- PIX_FMT_YUV420P, nWidth, nHeight, PIX_FMT_BGRA, SWS_FAST_BILINEAR | SwScaleCPUFlags(), NULL, NULL, NULL); ++ AV_PIX_FMT_YUV420P, nWidth, nHeight, AV_PIX_FMT_BGRA, SWS_FAST_BILINEAR, NULL, NULL, NULL); + + if (context) + { |