[gstreamer-bugs] [Bug 629553] GstAdapter: timestamp not updated when empty buffer is pushed

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Sep 14 08:32:52 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=629553
  GStreamer | gstreamer (core) | git

--- Comment #2 from Leo Singer <lsinger at caltech.edu> 2010-09-14 15:32:49 UTC ---
I'm working with an element that a colleague wrote, that implements a filter
that has a fixed latency.  Its chain() routine immediately accepts each buffer
and puts it into an adapter.  Timestamps for outgoing buffers are computed with
the help of gst_adapter_prev_timestamp().

This element also has multiple sink pads.  The haphazard method by which we
have synchronized the sink pads occasionally results in zero-size buffers at
the start of the stream.  This isn't incorrect, it's just silly.

A method of assigning that timestamp would be acceptable, although it would be
nice if GStreamer library functions that manipulate buffers could handle
zero-sized buffers.

-- 
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