[Bug 744399] gstbaseparse does not set duration on buffers

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Feb 13 00:53:08 PST 2015


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

--- Comment #2 from Aleksander Wabik <alex.wabik at gmail.com> ---
Created attachment 296752
  --> https://bugzilla.gnome.org/attachment.cgi?id=296752&action=edit
The testcase

I am attaching the testcase. The file test.c will construct the pipeline in
which the queue2 element will hold packetized stream with h264 data
(stream-format=byte-stream). The h264parse and avdec after the queue will
reproduce the bug from the description. The effects that the testcase
demonstrates are:

1) The queue containing whole stream buffered and reporting 100% buffered (due
to EOS), although the queue is inable to report current-level-time (because it
has no valid srctime stored, buffers pushed to the srcpad are out of segment).
2) The sink in paused prerolls the buffer, although the queue has not output a
valid in-segment buffer.

You can build the testcase using this command:

gcc `pkg-config --libs --cflags gstreamer-1.0` test.c
export GST_DEBUG=bug_744399:9
./a.out

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