mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
videoaggregator: Correct use of start_time/end_time
When29713c5d
changed most uses of `start_time` and `end_time` to `start_running_time` and `end_running_time`, it missed two. Fixes:29713c5d40
Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1038 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1779>
This commit is contained in:
parent
302628a4bb
commit
4567d569ca
1 changed files with 2 additions and 2 deletions
|
@ -1876,7 +1876,7 @@ gst_video_aggregator_fill_queues (GstVideoAggregator * vagg,
|
|||
GST_TIME_ARGS (output_start_running_time),
|
||||
GST_TIME_ARGS (output_end_running_time));
|
||||
|
||||
if (pad->priv->end_time != -1 && pad->priv->end_time > end_time) {
|
||||
if (pad->priv->end_time != -1 && pad->priv->end_time > end_running_time) {
|
||||
GST_DEBUG_OBJECT (pad, "Buffer from the past, dropping");
|
||||
gst_buffer_unref (buf);
|
||||
gst_aggregator_pad_drop_buffer (bpad);
|
||||
|
@ -1920,7 +1920,7 @@ gst_video_aggregator_fill_queues (GstVideoAggregator * vagg,
|
|||
pad->priv->end_time = end_running_time;
|
||||
GST_DEBUG_OBJECT (pad,
|
||||
"replacing old buffer with a newer buffer, start %" GST_TIME_FORMAT
|
||||
" out end %" GST_TIME_FORMAT, GST_TIME_ARGS (start_time),
|
||||
" out end %" GST_TIME_FORMAT, GST_TIME_ARGS (start_running_time),
|
||||
GST_TIME_ARGS (output_end_running_time));
|
||||
gst_buffer_unref (buf);
|
||||
gst_aggregator_pad_drop_buffer (bpad);
|
||||
|
|
Loading…
Reference in a new issue