projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc470df
)
libvisual: only drop frames that are really too old
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 5 Oct 2010 10:05:38 +0000
(12:05 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 5 Oct 2010 10:22:39 +0000
(12:22 +0200)
Also take the frame duration into account so that we don't drop frames that are
partially past the estimated QoS time.
ext/libvisual/visual.c
patch
|
blob
|
history
diff --git
a/ext/libvisual/visual.c
b/ext/libvisual/visual.c
index
f864e71
..
48c1e27
100644
(file)
--- a/
ext/libvisual/visual.c
+++ b/
ext/libvisual/visual.c
@@
-678,6
+678,7
@@
gst_visual_chain (GstPad * pad, GstBuffer * buffer)
/* QoS is done on running time */
qostime = gst_segment_to_running_time (&visual->segment, GST_FORMAT_TIME,
timestamp);
+ qostime += visual->duration;
GST_OBJECT_LOCK (visual);
/* check for QoS, don't compute buffers that are known to be late */