Multiple loops in one library
Mikl
michael.yarochkin at timetronics.be
Fri Apr 14 07:08:45 UTC 2017
Hello, filnet
Thank you for the answer.
I am aware about blocking nature of g_main_loop_run(). That's why i run
reader and writer in parallel threads.
Or it is the same for the loop: i can call g_main_loop_run() from different
threads, but it will block on the same object? In this case, i can believe,
what running second loop from another thread is causing exception.
Here is my code:
GStreamer is base class. Contain basic functions
GStreamerWriter and GStreamerReader contain specific functions. inherit from
GStreamer.
GStreamePlayer, GStreameInspector and GStreameRecorder are realizations.
I want to run all three in parallel in my application.
GStreamer.7z
<http://gstreamer-devel.966125.n4.nabble.com/file/n4682664/GStreamer.7z>
Thank you in advance.
Mikl
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Multiple-loops-in-one-library-tp4682638p4682664.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list