For some frames with decode-only flag, the v4l2 decoder will not put them in output list. The corresponding decode-only frames will be still kept in input list, which may cause potential performance issue when the input list is full. So release the decode-only frames according to the decode-only flag after they are processed by decoder driver. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8153>