pad: Only call IDLE probes if we are actually idle
authorSebastian Dröge <sebastian@centricular.com>
Mon, 30 Dec 2013 17:44:24 +0000 (18:44 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 30 Dec 2013 17:53:36 +0000 (18:53 +0100)
commit0324358ebc8122a41ab499a3ef7973b61c3e621b
tree3f16423102e36d7ca981cff65537b6f22cb44a3b
parent2ddbe8df492a71d5030309d9ad87c44ac17498fd
pad: Only call IDLE probes if we are actually idle

Also only check the data types for non-IDLE probes. When we
are idle, we have no data type obviously.

Previously we were calling IDLE probes during data flow whenever
a non-blocking probe would be called. The pad was usually not idle
at that time.
gst/gstpad.c