When the dpb is interlaced, the max size should be 2*dpb->max_num_frames,
correcting the error print info for that.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2430>
if (dpb->pic_list->len > dpb->max_num_frames * (dpb->interlaced + 1))
GST_ERROR ("DPB size is %d, exceed the max size %d",
- dpb->pic_list->len, dpb->max_num_frames);
+ dpb->pic_list->len, dpb->max_num_frames * (dpb->interlaced + 1));
/* The IDR frame or mem_mgmt_5 */
if (picture->pic_order_cnt == 0) {