GstEngine: Use beginning nanosec on play

Fixes #1549
This commit is contained in:
Jonas Kvinge 2024-09-16 00:34:39 +02:00
parent 0decbdc2fb
commit f44839137c
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ bool GstEngine::Play(const bool pause, const quint64 offset_nanosec) {
watcher->deleteLater();
PlayDone(ret, pause, offset_nanosec, pipeline_id);
});
QFuture<GstStateChangeReturn> future = current_pipeline_->Play(pause, offset_nanosec);
QFuture<GstStateChangeReturn> future = current_pipeline_->Play(pause, beginning_nanosec_ + offset_nanosec);
watcher->setFuture(future);
return true;