Skip to content

Truly independent web browser

LibMedia: Use the real end for video producers' seek fast paths

Zaggy10243dd2dee97474
diff --git a/Libraries/LibMedia/Producers/DecodedVideoProducer.cpp b/Libraries/LibMedia/Producers/DecodedVideoProducer.cpp
index 0b6505c8a9b..f2e76e653e0 100644
--- a/Libraries/LibMedia/Producers/DecodedVideoProducer.cpp
+++ b/Libraries/LibMedia/Producers/DecodedVideoProducer.cpp
@@ -462,7 +462,7 @@ void DecodedVideoProducer::ThreadData::queue_frame(NonnullRefPtr<VideoFrame> con
{
m_queue.enqueue({ frame });
m_last_queued_frame = frame;
- m_latest_available_timestamp = max(m_latest_available_timestamp, frame->conservative_end());
+ m_latest_available_timestamp = max(m_latest_available_timestamp, frame->end());
dispatch_wake_if_needed_while_locked();
}