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 747236 - opengl: OpenGL Pipeline state can't be set PLAYING=>READY=>PLAYING
opengl: OpenGL Pipeline state can't be set PLAYING=>READY=>PLAYING
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-04-02 11:38 UTC by Lubosz Sarnecki
Modified: 2015-07-07 08:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Lubosz Sarnecki 2015-04-02 11:38:53 UTC
The following pipeline fails to be set from PLAYING => READY => PLAYING

gst-launch-1.0 videotestsrc ! glupload ! glimagesink

Following crash occurs:

Program received signal SIGSEGV, Segmentation fault.

Thread 140736949356288 (LWP 8950)

  • #0 gst_gl_context_create_thread
    at gstglcontext.c line 1217
  • #1 ??
    from /usr/lib/libglib-2.0.so.0
  • #2 start_thread
    from /usr/lib/libpthread.so.0
  • #3 clone
    from /usr/lib/libc.so.6


Python GTK test:
https://gist.github.com/lubosz/51eafa1f2c947178b29e

PLAYING => NULL => PLAYING seems to work.
Comment 1 Matthew Waters (ystreet00) 2015-07-07 08:31:44 UTC
The following program seems to execute fine here.

GstElement *pipeline = gst_parse_launch ("videotestsrc ! glupload ! glimagesink", NULL);

gst_element_set_state (pipeline, GST_STATE_PLAYING);
g_usleep (1000000);
gst_element_set_state (pipeline, GST_STATE_READY);
g_usleep (1000000);
gst_element_set_state (pipeline, GST_STATE_PLAYING);
g_usleep (1000000);
gst_element_set_state (pipeline, GST_STATE_NULL);