mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
[mpp_frame]: Ignore hdr flag on comparing frame
The HDR flag will not change the buffer size just ignore it. Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: Ibebe60b8c0961e87b2b84236dd28a23e05f9d58f
This commit is contained in:
parent
da6ad1ee5e
commit
7aece2c5d8
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ MPP_RET mpp_frame_info_cmp(MppFrame frame0, MppFrame frame1)
|
|||
(f0->height == f1->height) &&
|
||||
(f0->hor_stride == f1->hor_stride) &&
|
||||
(f0->ver_stride == f1->ver_stride) &&
|
||||
(f0->fmt == f1->fmt) &&
|
||||
((f0->fmt & ~MPP_FRAME_HDR_MASK) == (f1->fmt & ~MPP_FRAME_HDR_MASK)) &&
|
||||
(f0->buf_size == f1->buf_size)) {
|
||||
return MPP_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue