mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
kodi: revert PR12361
This commit is contained in:
parent
3978747af7
commit
9cd3aece8c
@ -0,0 +1,25 @@
|
||||
From 65cd4f6c4c476e48259a131960fcc24ebd715e10 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Hewitt <chewitt@users.noreply.github.com>
|
||||
Date: Wed, 2 Aug 2017 11:10:31 +0400
|
||||
Subject: [PATCH] Revert "VAAPI: Return false on FF_PROFILE_HEVC_MAIN_10"
|
||||
|
||||
---
|
||||
xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp | 5 -----
|
||||
1 file changed, 5 deletions(-)
|
||||
|
||||
diff --git a/xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp b/xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp
|
||||
index 2f6502561de8..ed27cbbb6ec9 100644
|
||||
--- a/xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp
|
||||
+++ b/xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp
|
||||
@@ -558,11 +558,6 @@ bool CDecoder::Open(AVCodecContext* avctx, AVCodecContext* mainctx, const enum A
|
||||
}
|
||||
case AV_CODEC_ID_HEVC:
|
||||
{
|
||||
- // for distributions using far newer ffmpeg
|
||||
- // not available when Krypton was released
|
||||
- if (avctx->profile == FF_PROFILE_HEVC_MAIN_10)
|
||||
- return false;
|
||||
-
|
||||
profile = VAProfileHEVCMain;
|
||||
if (!m_vaapiConfig.context->SupportsProfile(profile))
|
||||
return false;
|
Loading…
x
Reference in New Issue
Block a user