GNOME Bugzilla – Bug 727946
decklinksrc: failure to switch states: PLAYING<->NULL
Last modified: 2015-01-13 12:58:51 UTC
Created attachment 273965 [details] Sample application to show the problem After setting up the pipeline to play from decklinksrc element (Blackmagic Intensity Pro capture card) and setting state to PLAYING, the output window (autovideosink) shows up and I see the grabbed video. Problem 1: When I switch the state to NULL and then back to PLAYING output window is closed, as expected - but it is not reopened upon switch to PLAYING state. Problem 2: Further switching of states causes coredump. Sometimes there is also printed a complaint about double free. The usual backtrace looks like this:
+ Trace 233455
I attach a simple application to show the problem. The (not attached) CGSTMainloopThread only initializes gstreamer, creates main loop object and enters the loop.
Please test if this is still a problem with latest GIT master. The decklink elements were rewritten.
I tried to recompile with the current master today, but I'm having problems with plugins-good: Making all in sdp make[4]: Entering directory `/home/kborowczyk/src/GStreamerGIT/gst-plugins-base/gst-libs/gst/sdp' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/kborowczyk/src/GStreamerGIT/gst-plugins-base/gst-libs/gst/sdp' Making all in rtsp make[4]: Entering directory `/home/kborowczyk/src/GStreamerGIT/gst-plugins-base/gst-libs/gst/rtsp' make all-am make[5]: Entering directory `/home/kborowczyk/src/GStreamerGIT/gst-plugins-base/gst-libs/gst/rtsp' make[5]: *** No rule to make target `gstrtsp-marshal.list', needed by `gstrtsp-marshal.h'. Stop. make[5]: Leaving directory `/home/kborowczyk/src/GStreamerGIT/gst-plugins-base/gst-libs/gst/rtsp' make[4]: *** [all] Error 2 make[4]: Leaving directory `/home/kborowczyk/src/GStreamerGIT/gst-plugins-base/gst-libs/gst/rtsp' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/kborowczyk/src/GStreamerGIT/gst-plugins-base/gst-libs/gst' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/kborowczyk/src/GStreamerGIT/gst-plugins-base/gst-libs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/kborowczyk/src/GStreamerGIT/gst-plugins-base' make: *** [all] Error 2
Run git clean -x -d -f; ./autogen.sh in gst-plugins-good (and if it still doesn't work, please post on the mailing list or pop into our irc channel, it doesn't really belong into this bug report)
(Thanks for the bit with git clean, it helped (and sorry for asking here)) As for the bug, seems that the rewrite fixed the problem. I can switch back and forth between NULL/PAUSED/PLAYING states without problems.