videoaggregator: remove broken rate adjustment
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Fri, 7 Dec 2018 16:07:42 +0000 (18:07 +0200)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Fri, 18 Jan 2019 10:33:33 +0000 (11:33 +0100)
commit358ed9f9b4ec3e4ae45c902fd44cb9dc6de43b29
tree283a2d585117ca62ddfc5a2c28e9e74adac749ce
parentf65a05b27f9b2d9258a1f51e5b54f3b1902f061f
videoaggregator: remove broken rate adjustment

The start_time and end_time in this context have already
been adjusted for the input's rate by converting them to running
time above. What is needed afterwards is to compare these
with the output's start/stop running time, which also takes
into account the rate, so we are comparing equal things.

Multiplying these with the output's rate here is only breaking
this logic. In most cases the input and output rate is the same,
so this multiplication effectively reverses the rate adjustment
that happened while converting to running time, which is why
we see the video playing with the original rate in tests.

Fixes #541
gst-libs/gst/video/gstvideoaggregator.c