1234567891011121314151617181920 |
- --- xbmc-16.0-Jarvis.orig/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp 2016-02-20 16:21:19.000000000 +0100
- +++ xbmc-16.0-Jarvis/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp 2016-03-19 18:38:18.658022569 +0100
- @@ -486,7 +486,7 @@ CDecoder::CDecoder() : m_vdpauOutput(&m_
- m_vdpauConfig.context = 0;
- }
-
- -bool CDecoder::Open(AVCodecContext* avctx, AVCodecContext* mainctx, const enum PixelFormat fmt, unsigned int surfaces)
- +bool CDecoder::Open(AVCodecContext* avctx, AVCodecContext* mainctx, const enum AVPixelFormat fmt, unsigned int surfaces)
- {
- // check if user wants to decode this format with VDPAU
- std::string gpuvendor = g_Windowing.GetRenderVendor();
- @@ -760,7 +760,7 @@ int CDecoder::Check(AVCodecContext* avct
- return 0;
- }
-
- -bool CDecoder::IsVDPAUFormat(PixelFormat format)
- +bool CDecoder::IsVDPAUFormat(AVPixelFormat format)
- {
- if (format == AV_PIX_FMT_VDPAU)
- return true;
|