Don't forward LATENCY event when not ready
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 23 Feb 2009 09:53:17 +0000 (10:53 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 23 Feb 2009 09:53:17 +0000 (10:53 +0100)
commit805569c8738ac3a3b1d16d7199e219f4c324ce9a
tree537438bec10ebab183ce621a5611402c2c881ab6
parentb81b9c0e59b684c6261808fe0368850076661af7
Don't forward LATENCY event when not ready

When we are not ready to handle a latency query (we are not yet prerolled) we
also don't try to forward the latency event because that might cause unexpected
errors when upstream is not yet linked.
libs/gst/base/gstbasesink.c