pad: Don't fail latency query on unlinked pads
authorArun Raghavan <arun@centricular.com>
Thu, 26 Feb 2015 07:38:48 +0000 (13:08 +0530)
committerArun Raghavan <git@arunraghavan.net>
Thu, 26 Feb 2015 10:27:26 +0000 (15:57 +0530)
commitbe36d34aee09cc821b32c8f190841967aa23f15c
tree3f34fc3434462b69b764a73811806eafb106e9ad
parentc1d2254b23c1ca631c28ebe14dea2f0e1c9bc1a2
pad: Don't fail latency query on unlinked pads

A single unlinked pad can make the latency query fail across the
pipeline, which is probably not desirable. Instead, we return a default
anything goes value.

Perhaps we should also be emitting a gst_message_new_latency() when a
PLAYING element has one of its pads linked.

https://bugzilla.gnome.org/show_bug.cgi?id=745197
gst/gstpad.c