summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2013-10-10 11:14:35 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-10-10 11:14:35 +0200
commita78695a1025e1c4545258d9ac1ec3a777a862d52 (patch)
tree2e7d797508cc311488aaf360cb273ea857fd789b
parentd623fea9cbb230bb13748d4830a1f3e63d55fc8a (diff)
downloadgst-plugins-good-1.0/topic/mem2mem.tar.gz
gst-plugins-good-1.0/topic/mem2mem.tar.xz
fixup! v4l2: filter: implement latency & QOS handling1.0/topic/mem2mem
-rw-r--r--sys/v4l2/gstv4l2filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2filter.c b/sys/v4l2/gstv4l2filter.c
index d58883957..734cfcfb8 100644
--- a/sys/v4l2/gstv4l2filter.c
+++ b/sys/v4l2/gstv4l2filter.c
@@ -815,7 +815,7 @@ v4l2_filter_src_task (GstPad * pad)
/* latency contains the time the buffer spent in queues. Hope
that the real latency is always the same, so the minimum is
the best guess. */
- if (old_latency == 0 || latency < old_latency) {
+ if (old_latency == 0 || latency < old_latency * 9 / 10) {
v4l2filter->min_latency = latency;
if (obj->pool)
v4l2filter->max_latency = latency *