[Bug 786800] harness: add support for pushing BufferList
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Aug 29 10:13:29 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=786800
--- Comment #3 from Miguel París Díaz <mparisdiaz at gmail.com> ---
Hello @tim!!
Thanks for the feedback, but unfortunately I cannot agree because it depends on
the use case, specifically on the point where the BufferList is created or
modified, so it can contain Buffers with different timestamps.
>From my point of view the meaning of pushing a BufferList with N buffers is the
same that independently pushing each Buffer in the BufferList in the same
order:
{
GstHarness *h = ...;
int i;
for (i = 0; i < gst_buffer_list_length (list); i++) {
GstBuffer *buffer;
buffer = gst_buffer_list_get (list, len - 1);
gst_harness_push (h, buffer);
}
}
Hence, the last_push_ts is the timestamp of the last Buffer in the BufferList.
What do you think?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list