Save an MPEG2 compressed file from live stream

Paul Barber paul.barber at
Tue Dec 23 00:38:52 PST 2014

Message-ID: <20684A1E-36C6-4D60-8DF6-67FBA7050EFC at>
Content-Type: text/plain; charset=utf-8

Hi Sergio, 

>Can you try only invoking the gtk_main_quit() only after you enter and exit the EOS callback. 
OK, this hangs at the same place.

>In theory you only need to add the probe with the downstream event mask, unless there’s an actual reason to block data flow.
Without the blocking mask, it also locks at the same place.

>Where is it locking exactly?
At the point of return from the callback. I see the printout from:
g_print("Return from pad callback\n");

The pipeline has 2 tees and so at least 5 threads. Is this a threading issue?

Sent from my Android phone with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list