[FFmpeg-devel] ffmpeg_vaapi: Enable decoding of H.265 main 10 profile

Submitted by Mark Thompson on Dec. 5, 2016, 10:09 p.m.

Details

Message ID 84d34203-eeef-0120-deb4-1f84a89416f3@jkqxz.net
State New
Headers show

Commit Message

Mark Thompson Dec. 5, 2016, 10:09 p.m.
---
Already present in lavc, just not enabled in ffmpeg.  Tested on Kaby Lake.

 ffmpeg_vaapi.c | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/ffmpeg_vaapi.c b/ffmpeg_vaapi.c
index b6bdeb9..dd11e77 100644
--- a/ffmpeg_vaapi.c
+++ b/ffmpeg_vaapi.c
@@ -165,6 +165,7 @@  static const struct {
     MAP(H264,        H264_HIGH,       H264High    ),
 #if VA_CHECK_VERSION(0, 37, 0)
     MAP(HEVC,        HEVC_MAIN,       HEVCMain    ),
+    MAP(HEVC,        HEVC_MAIN_10,    HEVCMain10  ),
 #endif
     MAP(WMV3,        VC1_SIMPLE,      VC1Simple   ),
     MAP(WMV3,        VC1_MAIN,        VC1Main     ),