codecs: h264picture: use g_array_remove_index_fast()
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sun, 14 Jun 2020 18:47:46 +0000 (20:47 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 29 Jun 2020 12:36:38 +0000 (12:36 +0000)
commitc1b8802c71d34e3d32bf83161329449624376713
tree8907ddd41a34df08e64d59d7e55a0a64840f7846
parent76411205c8009545a83dc599297ace7fdfdcd427
codecs: h264picture: use g_array_remove_index_fast()

This algorithm is faster than the normal one. The problem is it
disorders the elements in the dpb, but it does not seem to mess
decoders.

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