Callback from gstreamer to application
jmz
jmzheng at gmail.com
Wed Jun 14 10:24:22 UTC 2017
Hi,
I also want to develop a testplayer application linking with a playback.c
library (GStreamer-based codes) to use functions such as play, stop, etc.
My testplayer calls playback_create function to create a new thread which
invokes playback_main function. Then, the playback_main sets up pipeline and
finally calls g_main_loop_run(). The testplayer will receive user commands
in a while loop to manipulate several playback pipelines.
My first question is: is my design (creating a new thread which runs event
loop) appropriate for this scenario?
My second question is: how does the testplayer control the pipeline? For
example, how to design a playback_stop function to be used by testplayer for
stopping a pipeline?
ps. I need to develop playback.c although gstplayer may be useful.
Thanks
Le mardi 31 janvier 2017 à 04:31 -0800, deepthips a écrit :
> I have a gstreamer code (say playback.c) with basic functions such as
> load,
> play, stop, seek etc.
> I have a testapp which will link the playback.c library and call those
> functions.
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Callback-from-gstreamer-to-application-tp4681667p4683376.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list