aggregator: make the src pad task drive the pipeline for live pipelines
authorMatthew Waters <matthew@centricular.com>
Fri, 5 Dec 2014 07:19:54 +0000 (18:19 +1100)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 16 Dec 2014 15:58:57 +0000 (16:58 +0100)
commite354149436570850fd0ada6c0356085729b63c22
treed312fe8560df9b749c2a53f782e6da52871c379d
parent8fe8510d80518a667b0813d09111530b001051ba
aggregator: make the src pad task drive the pipeline for live pipelines

This removes the uses of GAsyncQueue and replaces it with explicit
GMutex, GCond and wakeup count which is used for the non-live case.

For live pipelines, the aggregator waits on the clock until either
data arrives on all sink pads or the expected output buffer time
arrives plus the timeout/latency at which time, the subclass
produces a buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=741146
gst-libs/gst/video/gstvideoaggregator.c