[Bug 722397] liveadder: handle gap buffer flag
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue May 20 05:43:24 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=722397
GStreamer | gst-plugins-bad | git
--- Comment #3 from Michael Olbrich <m.olbrich at pengutronix.de> 2014-05-20 12:43:22 UTC ---
Oliver: I don't think so. What must happen is this:
- 'oldbuffer' is the current buffer that will be sent downstraem later.
- 'buffer' is the new data that should be added.
If 'buffer' has the GAP flag set, then we just do nothing. If it doesn't,
then things get interesting:
If 'oldbuffer' doesn't have the GAP flags set, then we can just add the
data and everything works just fine.
If 'oldbuffer' the GAP flag set, its data must be zero, so adding works
just fine. However we must remove the GAP flag, or downstream may ignore
the data we just added.
This is an adder, so the we can only sent a GAP buffer if _all_ input
buffers are GAP buffer.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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