GNOME Bugzilla – Bug 787522
v4l2sink stops to play after a few state changes between paused and playing
Last modified: 2018-11-03 15:21:57 UTC
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.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/401.