video: Use GQueue instead of plain GList in a few places
authorSebastian Dröge <sebastian@centricular.com>
Wed, 3 Jun 2020 11:37:00 +0000 (14:37 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 3 Jun 2020 13:21:41 +0000 (16:21 +0300)
commitcaaa5ac8647e6caa71bba6704911e80391158d22
tree90814e6efe7c0dc7cf926378cb4b0780b02eb5d7
parent4fcc1121e6f23d42c9ae77f376ff085c07f04c48
video: Use GQueue instead of plain GList in a few places

Also not optimal but at least simplifies the code a bit and doesn't
require g_list_length() and g_list_append() in a few places.

For 2.0 there are some more candidates to change but unfortunately
they're currently part of the API.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/683>
gst-libs/gst/video/gstvideodecoder.c
gst-libs/gst/video/gstvideoencoder.c
gst-libs/gst/video/gstvideoutils.h