The current sequence number will be the one from the first RTP buffer
when a buffer list is pushed, but should be the last one.
Fixes #495
if (is_list) {
gst_buffer_list_foreach (GST_BUFFER_LIST_CAST (obj), set_headers, &data);
gst_buffer_list_foreach (GST_BUFFER_LIST_CAST (obj), filter_meta, NULL);
+ /* sequence number has increased more if this was a buffer list */
+ payload->seqnum = data.seqnum - 1;
} else {
GstBuffer *buf = GST_BUFFER_CAST (obj);
set_headers (&buf, 0, &data);