mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 03:21:00 +00:00
mpegtslivesrc: Fix order of parameters passed to add_observation()
The first one should be the internal time, i.e. the monotonic clock time in our case, and the second one the external time. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1767>
This commit is contained in:
parent
44f64fb3f6
commit
c5b1ebc7d8
1 changed files with 1 additions and 1 deletions
|
@ -194,8 +194,8 @@ impl MpegTSLiveSourceState {
|
|||
monotonic_time,
|
||||
);
|
||||
self.external_clock.add_observation(
|
||||
gst::ClockTime::from(new_pcr.saturating_sub(base_pcr)) + base_monotonic,
|
||||
monotonic_time,
|
||||
gst::ClockTime::from(new_pcr.saturating_sub(base_pcr)) + base_monotonic,
|
||||
);
|
||||
} else {
|
||||
let (internal, external, num, denom) = self.external_clock.calibration();
|
||||
|
|
Loading…
Reference in a new issue