Hello,
I have been playing with the "basic tutorial" C API a bit, and can create a stream in c code. However, when the strea is running, how can I quit/terminate that stream?
For example, basic tutorial 3:
After creating a pipeline, one can start it. Then there's a loop that listens for msgs from the 'bus', in a loop. Whenever there is a msg, the loop runs through a switch, and and listens for a new msg again. I want to create "some sort of event" that terminates that loop (for example existence (or not) of a lock file.). (or can I create a handler, set an option,
that will make gst_element_get_bus(..) return, even if there
isn't a msg, with an empty msg or so? (I am fairly sure,
gst_element_get_bus,
is not returning and only will if there is a msg
waiting.)
Here's a/the code snippet from the basic tutorial 3 example: /* Start playing */
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
ever had that situation where you have been looking for an answer and right after you ask, you find it?
so, thanks.. but never mind.
Ron On 5/31/19 5:02 PM, R C wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |