[Bug 796681] v4l2videodec: do not call streamon while pool is flushing

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jun 27 16:07:42 UTC 2018


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

--- Comment #2 from Michael Tretter <m.tretter at pengutronix.de> ---
Created attachment 372854
  --> https://bugzilla.gnome.org/attachment.cgi?id=372854&action=edit
trickmode-key-units.scenario

Use the attached trickmode-key-units.scenario with the following pipeline. The
used video does not matter.

gst-validate-1.0 --set-scenario trickmode-key-units filesrc
location=<some_h264_encoded_video> ! parsebin ! v4l2h264dec ! fakesink

Decoding will sometimes, but not always, fail with the following error message.

gstv4l2bufferpool.c:1032:gst_v4l2_buffer_pool_poll:<v4l2h264dec0> error: poll
error 1: Broken pipe (32)

The poll fails, because capture is streaming, but its buffer list is empty,
because the v4l2videodec did not resurrect the buffers. The patch fixes the
buffer resurrection in v4l2videodec.

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