[gst-devel] Problem running a test app

Vitaly Mayatskih v.mayatskih at gmail.com
Fri Jul 13 17:59:07 CEST 2007


>         I am new to GST and I am trying to run a multithreaded program to run multiple gst players. I am using a filesink to store the buffers. I am trying with 2 thread initially. The problem is when I connect a pad creator function (new_pad) to link to new pad, the function gets called from one single thread irrespective of two threads being initiated. This behaviour is not always as I can see the pad creation function in two different functions also. Can anyone tell me why is this behaviour?
> The other problem is that the first file from the first thread contains the output data and the other one does not in either case of the new_pad function being run in same or unique thread. Can anyone suggest what is happening here.
> Let me know if you need any further information.

	You should use unique names of gst-elements even in different threads.





More information about the gstreamer-devel mailing list