rtputils: Count metas with an empty tag list for copying/keeping
authorArun Raghavan <arun@asymptotic.io>
Thu, 22 Oct 2020 13:17:26 +0000 (09:17 -0400)
committerArun Raghavan <arun@asymptotic.io>
Thu, 22 Oct 2020 13:19:53 +0000 (09:19 -0400)
commitb4a713ff2d7f67efbf27c91b3da69a7ac0bffc7c
tree5f2df4db41a63ae7dd62bea314c241d166532d7b
parent27ecd2c30d732d4ccb058157b8d95dc02aebe834
rtputils: Count metas with an empty tag list for copying/keeping

The GstMetaInfos registered in core do not set their tags to NULL, but
instead use an empty list (non-NULL list with a single NULL value).
Let's check explicitly for that so as to not miss some metas.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/779>
gst/rtp/gstrtputils.c