• Jeffrey Kardatzke's avatar
    vaapi: Fix H264 full sample decryption · 8f921e30
    Jeffrey Kardatzke authored
    There's 2 things that were wrong. We were not initializing the
    VAEncryptionParameters structure we were using, causing bad values to be
    present.  We also had a regression error where we then were resubmitting
    the VAEncryptionParameters during decode of full sample content. This
    fixes both of those.
    
    BUG=b:178039332
    TEST=Full sample H264 protected content plays on volteer
    
    Change-Id: I47b82a5f022292290151178cc26266c55b9dff42
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2643536
    Commit-Queue: Jeffrey Kardatzke <jkardatzke@google.com>
    Commit-Queue: Jao-ke Chin-Lee <jchinlee@chromium.org>
    Auto-Submit: Jeffrey Kardatzke <jkardatzke@google.com>
    Reviewed-by: default avatarJao-ke Chin-Lee <jchinlee@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#845806}
    8f921e30
h264_vaapi_video_decoder_delegate.h 3.59 KB