[Bug 747722] winks: buffer is too late

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Apr 12 03:43:12 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=747722

--- Comment #4 from LRN <lrn1986 at gmail.com> ---
No idea. I assumed that having a stream with dts == GST_CLOCK_TIME_NONE is
somehow bad, which is why it does it.

Note that having dts == 0 on the first buffer once, at the very beginning, is
OK (does not cause any warnings from the sink, probably because of the state
the pipeline is in).

I agree about the buffer pool - it looks like winks allocates two spare
buffers, and gst_base_src_do_syn() sets dts to 0 on one of them. Later winks
will sometimes use this buffer without re-setting dts.

DTS setting was committed by
http://cgit.freedesktop.org/gstreamer/gstreamer/commit/libs/gst/base/gstbasesrc.c?id=d7fdf75e137f804b5e0215eca95593f4bdc465e7
and changed by
http://cgit.freedesktop.org/gstreamer/gstreamer/commit/libs/gst/base/gstbasesrc.c?id=892d36211fac3a2c663d9a1198c8a75a2dc3645e
(the latter makes no difference here - stream start is also 0 in my case).

Right now i'm inclined to think that the bug is in winks re-using old buffers
without re-setting their attributes.

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