[Libva] [Libva-intel-driver][PATCH 3/3] Decoding: Export the normal slice mode for decoding

Zhao Yakui yakui.zhao at intel.com
Mon Aug 24 23:43:53 PDT 2015


Signed-off-by: Zhao Yakui <yakui.zhao at intel.com>
---
 src/i965_drv_video.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
index 8408413..52be6ff 100644
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -786,6 +786,10 @@ i965_GetConfigAttributes(VADriverContextP ctx,
             }
             break;
 
+        case VAConfigAttribDecSliceMode:
+            attrib_list[i].value = VA_DEC_SLICE_MODE_NORMAL;
+            break;
+
         default:
             /* Do nothing */
             attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;
-- 
1.7.10.1



More information about the Libva mailing list