After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787522 - v4l2sink stops to play after a few state changes between paused and playing
v4l2sink stops to play after a few state changes between paused and playing
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-09-10 18:42 UTC by Rafal
Modified: 2018-11-03 15:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rafal 2017-09-10 18:42:56 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.
Comment 1 GStreamer system administrator 2018-11-03 15:21:57 UTC
-- 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.