A video decoding method for decoding a current block of a frame based on a history-based motion vector predictor, HMVP, list, comprising the steps: constructing the HMVP list, which is an ordered list of N history-based candidates Hα, k=0,..., N-1, associated with motion information of N preceding blocks of the frame preceding the current block, wherein N is greater than or equal to 1, wherein each history-based candidate comprises motion information including elements: i) one or more motion vectors, MVs, ii) one or more reference picture indices corresponding to the MVs, and iii) one or more bi-prediction weight indices; adding one or more history-based candidates from the HMVP list into a motion information candidate list for the current block; deriving motion information for the current block based on the motion information candidate list; and decoding the current block based on the motion information for the current block;wherein the method further comprises: comparing at least one of the elements of each history-based candidate of the HMVP list with the corresponding element of the motion information for the current block; and adding the motion information of the current block to the HMVP list, if as a result of the comparing at least one of the elements of each HMVP candidate of the HMVP list differs from the corresponding element of the motion information of the current block; wherein the comparison is performed only on checking differences with respect to the MVs and the reference picture indices of the history-based candidate of the HMVP list and the corresponding MVs and reference picture indices of the motion information for the current block, irrespective of whether or not the other elements are the same. constructing the HMVP list, which is an ordered list of N history-based candidates Hα, k=0,..., N-1, associated with motion information of N preceding blocks of the frame preceding the current block, wherein N is greater than or equal to 1, wherein each history-based candidate comprises motion information including elements: i) one or more motion vectors, MVs, ii) one or more reference picture indices corresponding to the MVs, and iii) one or more bi-prediction weight indices; i) one or more motion vectors, MVs, ii) one or more reference picture indices corresponding to the MVs, and iii) one or more bi-prediction weight indices; adding one or more history-based candidates from the HMVP list into a motion information candidate list for the current block; deriving motion information for the current block based on the motion information candidate list; and decoding the current block based on the motion information for the current block;wherein the method further comprises: comparing at least one of the elements of each history-based candidate of the HMVP list with the corresponding element of the motion information for the current block; and adding the motion information of the current block to the HMVP list, if as a result of the comparing at least one of the elements of each HMVP candidate of the HMVP list differs from the corresponding element of the motion information of the current block; wherein the comparison is performed only on checking differences with respect to the MVs and the reference picture indices of the history-based candidate of the HMVP list and the corresponding MVs and reference picture indices of the motion information for the current block, irrespective of whether or not the other elements are the same. comparing at least one of the elements of each history-based candidate of the HMVP list with the corresponding element of the motion information for the current block; and adding the motion information of the current block to the HMVP list, if as a result of the comparing at least one of the elements of each HMVP candidate of the HMVP list differs from the corresponding element of the motion information of the current block; wherein the comparison is performed only on checking differences with respect to the MVs and the reference picture indices of the history-based candidate of the HMVP list and the corresponding MVs and reference picture indices of the motion information for the current block, irrespective of whether or not the other elements are the same.