From 5f0816eac0908bb7671231d483b7f7af1f474661 Mon Sep 17 00:00:00 2001 From: Boyuan Zhang Date: Mon, 10 Feb 2020 14:37:36 -0500 Subject: [PATCH] vl: add flag and definition for protected playback Add a flag to indicate if playback is protected/encrypted. Add a pointer to decryption key for later decryption use. Acked-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/gallium/include/pipe/p_video_state.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h index 9b10acd81bf..43320c28496 100644 --- a/src/gallium/include/pipe/p_video_state.h +++ b/src/gallium/include/pipe/p_video_state.h @@ -151,6 +151,8 @@ struct pipe_picture_desc { enum pipe_video_profile profile; enum pipe_video_entrypoint entry_point; + bool protected_playback; + uint8_t *decrypt_key; }; struct pipe_quant_matrix