patch-xbmc_cores_dvdplayer_DVDCodecs_Video_VDPAU_cpp 908 B

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