codecs: h264decoder: Don't fill gap picture if it's not allowed
authorSeungha Yang <seungha@centricular.com>
Thu, 12 Nov 2020 10:43:22 +0000 (19:43 +0900)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 12 Nov 2020 14:38:56 +0000 (14:38 +0000)
commit6a6f8c967cb3c88578f6364a0ec39fbedd147a72
tree5aec09f10f8eb540ddd92922d225591a39aa3fe8
parent330b2c6b7c865454ab50d28151617236420e9a84
codecs: h264decoder: Don't fill gap picture if it's not allowed

We should fill gap picture only if sps->gaps_in_frame_num_value_allowed_flag
is set.

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