gst-launch: add a sync bus handler and move state-change logging there
authorStefan Kost <ensonic@users.sf.net>
Thu, 9 Sep 2010 12:57:15 +0000 (15:57 +0300)
committerStefan Kost <ensonic@users.sf.net>
Thu, 9 Sep 2010 12:59:55 +0000 (15:59 +0300)
commit3eb97aa32c9a9be382d2be7b2fb617c4d88042fc
treeb57b50fedb0aaab6c5d5a66f801d3467288fc52f
parentbf2bdba6b391bc1e411b2cf8e25de8dca2ef612b
gst-launch: add a sync bus handler and move state-change logging there

The sync handler is called for all mesages, the event loop we previously used
was not. In the sync handler trigger pipeline dot dumps and call access for a
file in tmp-dir to add markers interceptable by strace and co.
tools/gst-launch.c