codecs: h264dec: Fix a error print of dpb_add.
authorHe Junyan <junyan.he@intel.com>
Sun, 25 Jul 2021 17:16:34 +0000 (01:16 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 28 Jul 2021 10:54:21 +0000 (10:54 +0000)
commit04974015ec158985ca75298d8e1a78e5025a573c
treee4520f32f7b3ab5fb593d0f5b82e88f9e0acf567
parente8882c3a1d63c498c891f33101974fb4627c15dc
codecs: h264dec: Fix a error print of dpb_add.

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>
gst-libs/gst/codecs/gsth264picture.c