mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
libs/gst/base/gstbasesink.c: Use last buffer timestamp in qos message.
Original commit message from CVS: * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync): Use last buffer timestamp in qos message.
This commit is contained in:
parent
2ee0cdf799
commit
06aa56aca4
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-03-08 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
|
||||
Use last buffer timestamp in qos message.
|
||||
|
||||
2006-03-07 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* docs/pwg/advanced-tagging.xml:
|
||||
|
|
|
@ -930,7 +930,7 @@ again:
|
|||
*late = FALSE;
|
||||
|
||||
/* FIXME, update clock stats here and do some QoS */
|
||||
if (status == GST_CLOCK_EARLY) {
|
||||
if (status == GST_CLOCK_EARLY && GST_IS_BUFFER (obj)) {
|
||||
if (basesink->abidata.ABI.max_lateness != -1
|
||||
&& jitter > basesink->abidata.ABI.max_lateness) {
|
||||
GstEvent *event;
|
||||
|
@ -940,7 +940,7 @@ again:
|
|||
*late = TRUE;
|
||||
|
||||
/* generate QoS event, FIXME, calculate decent proportion. */
|
||||
event = gst_event_new_qos (-1.0, jitter, start);
|
||||
event = gst_event_new_qos (-1.0, jitter, GST_BUFFER_TIMESTAMP (obj));
|
||||
|
||||
/* send upstream */
|
||||
gst_pad_push_event (basesink->sinkpad, event);
|
||||
|
|
Loading…
Reference in a new issue