diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-01-02 15:19:29 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-01-02 16:06:45 +0000 |
commit | 06f65ba37625beda04d656166d12a9293d6e710a (patch) | |
tree | 8d5b9dbac93f941270ff1f546fd69b23f2aa196f /community/kodi/vaapi.patch | |
parent | 2cd9f0f5d3212025f20b8ed0000eeb547d1a8cb5 (diff) | |
download | aports-06f65ba37625beda04d656166d12a9293d6e710a.tar.bz2 aports-06f65ba37625beda04d656166d12a9293d6e710a.tar.xz |
community/kodi: fix build
Diffstat (limited to 'community/kodi/vaapi.patch')
-rw-r--r-- | community/kodi/vaapi.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/community/kodi/vaapi.patch b/community/kodi/vaapi.patch new file mode 100644 index 0000000000..fb279216be --- /dev/null +++ b/community/kodi/vaapi.patch @@ -0,0 +1,15 @@ +diff --git a/xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp b/xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp +index 2f65025..b69cb61 100644 +--- a/xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp ++++ b/xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp +@@ -3090,8 +3090,8 @@ bool CFFmpegPostproc::Init(EINTERLACEMETHOD method) + return false; + } + +- AVFilter* srcFilter = avfilter_get_by_name("buffer"); +- AVFilter* outFilter = avfilter_get_by_name("buffersink"); ++ const AVFilter* srcFilter = avfilter_get_by_name("buffer"); ++ const AVFilter* outFilter = avfilter_get_by_name("buffersink"); + + std::string args = StringUtils::Format("%d:%d:%d:%d:%d:%d:%d", + m_config.vidWidth, |