launch: handle PROGRESS messages
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 11 Apr 2013 12:55:47 +0000 (13:55 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 11 Apr 2013 13:00:32 +0000 (14:00 +0100)
commit9ee7e72c36c20ea55c3a54858f1dad4c9bfcb461
treea714f447c3d3f9b80b91a7528081e677e27f2dd3
parente62abd3f2f2d36efc3019354921e21b08b629fc3
launch: handle PROGRESS messages

Wait for all PROGRESS messages (if any) to complete before going to the PLAYING
state. This is the only way we can wait for live elements to complete their
operations.

This is interesting for elements like rtspsrc that do some asynchronous network
requests as part of going to the PAUSED state. It could be possible that it, for
example, provides a clock and then we would like to wait until it completes
so that we can use the provided clock when going to PLAYING.
tools/gst-launch.c