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:
8834567
)
basesink: renderdelay needs to be subtracted in adjust_time()
author
Havard Graff
<havard.graff@tandberg.com>
Wed, 26 May 2010 18:29:22 +0000
(20:29 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 24 Sep 2010 10:16:48 +0000
(12:16 +0200)
latency is already sink-latency + render-delay, and here we only
want to deal with the sink-latency.
Fixes #630436
libs/gst/base/gstbasesink.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstbasesink.c
b/libs/gst/base/gstbasesink.c
index
1e0c3cd
..
612fecc
100644
(file)
--- a/
libs/gst/base/gstbasesink.c
+++ b/
libs/gst/base/gstbasesink.c
@@
-2015,7
+2015,7
@@
gst_base_sink_adjust_time (GstBaseSink * basesink, GstClockTime time)
if (G_UNLIKELY (!GST_CLOCK_TIME_IS_VALID (time)))
return time;
- time += basesink->priv->latency;
+ time += basesink->priv->latency
- basesink->priv->render_delay
;
/* apply offset, be carefull for underflows */
ts_offset = basesink->priv->ts_offset;