codecs: h265dec: Disable the POC order warning for negative POC.
authorHe Junyan <junyan.he@intel.com>
Tue, 6 Jul 2021 06:06:24 +0000 (14:06 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 6 Jul 2021 14:33:21 +0000 (14:33 +0000)
commit078b2699e7b741bb5c3dcac843573fd1ccea0195
treecb72ab2554bfef3be02ad9155c105feb497c1a5d
parent1fa9f26a5318be10b764759afc78b34766904302
codecs: h265dec: Disable the POC order warning for negative POC.

There may be leading frames after the IRAP frames, which has negative
POC. This kind of frames are allowed and they will be displayed before
the IRAP frame. So the warning should not be triggered for them. Init
the last_output_poc to G_MININT32 can avoid this.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2380>
gst-libs/gst/codecs/gsth265decoder.c