diff options
author | Hendrik Leppkes | 2016-02-12 20:38:40 +0200 |
---|---|---|
committer | Luca Barbato | 2016-02-13 14:19:54 +0100 |
commit | 8c399bd5cefd572eceb448981fcb6d4dbca35d27 (patch) | |
tree | 45e9930c6310750b33fd48df5efde3353496a7da /libavcodec/hevc.h | |
parent | e579d8b29cdb9b42c50a0fde277dfb047c1466ad (diff) |
dxva2_hevc: properly signal the num_delta_pocs from the SPS RPS
ucNumDeltaPocsOfRefRpsIdx needs to contain the flat value from the SPS RPS,
and not the final computed value from the slice header RPS, as this calculation
is done internally by the driver again.
Sample-Id: http://trailers.divx.com/hevc/Sintel_4k_27qp_24fps_1aud_9subs.mkvi
Signed-off-by: RĂ©mi Denis-Courmont <remi@remlab.net>
Diffstat (limited to 'libavcodec/hevc.h')
-rw-r--r-- | libavcodec/hevc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h index 7c87a557dd..62edcf258f 100644 --- a/libavcodec/hevc.h +++ b/libavcodec/hevc.h @@ -262,6 +262,7 @@ enum ScanType { typedef struct ShortTermRPS { unsigned int num_negative_pics; int num_delta_pocs; + int rps_idx_num_delta_pocs; int32_t delta_poc[32]; uint8_t used[32]; } ShortTermRPS; |