[Bug 787522] New: v4l2sink stops to play after a few state changes between paused and playing
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sun Sep 10 18:42:56 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=787522
Bug ID: 787522
Summary: v4l2sink stops to play after a few state changes
between paused and playing
Classification: Platform
Product: GStreamer
Version: 1.x
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: fatwildcat at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
When playbin element is used with video-sink property set to v4l2sink, the
pipeline stops to play after a few changes between paused and playing. Further
switches between paused and playing state have no effect.
It looks the problem is caused by the v4l2sink element, more precisely by
gst_v4l2_object_unlock function invoked by gst_v4l2sink_unlock. The
gst_v4l2_object_unlock function invokes gst_buffer_pool_set_flushing, which
sets the pool in flushing state. This infers the pool use by other threads and
under certain circumstances may switch whole pipeline into flushing state.
When I did remove in code the gst_buffer_pool_set_flushing function call in
gst_v4l2_object_unlock function, the problem stopped to appear.
Let me know if you need more information. Thank you.
--
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