[Bug 794956] gst_initialized is not reset in gst_deinit()

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 4 09:39:13 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=794956

--- Comment #5 from hermann.fuerntratt at joanneum.at ---
Actually, all I want to do is to call 2 different pipelines in parallel. 
So I thought, gst_init() and gst_deinit() would work together. 
Now I don't call gst_deinit() anymore, and start the first pipeline in a thread
with argv 
filesrc location=d:/testvideo1.mp4 ! decodebin ! videoconvert ! autovideosink
name=video-sink1

using
g_option_context_parse(ctx, &argc, &argv, &err)

but the next call of 
g_option_context_parse(ctx, &argc, &argv, &err)
in the other thread with the other pipeline

filesrc location=d:/testvideo2.mp4 ! decodebin ! videoconvert ! autovideosink
name=video-sink2

fails with 
ERROR: pipeline could not be constructed: no element "filesrc"

So, what am I missing?

-- 
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