mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
Merge pull request #7033 from knaerzche/rk-hevc-fix
Rockchip: linux: Fix HEVC decoding
This commit is contained in:
commit
7fb1002d7f
@ -2316,7 +2316,7 @@ index 000000000000..fd87cbf9c1f8
|
||||
+ const struct v4l2_ctrl_hevc_decode_params *decode_params = run->decode_params;
|
||||
+ const struct v4l2_hevc_dpb_entry *dpb = decode_params->dpb;
|
||||
+ struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q;
|
||||
+ struct vb2_buffer *vb2_buf;
|
||||
+ struct vb2_buffer *vb2_buf = NULL;
|
||||
+
|
||||
+ if (dpb_idx < decode_params->num_active_dpb_entries)
|
||||
+ vb2_buf = vb2_find_buffer(cap_q, dpb[dpb_idx].timestamp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user