From 75a91cac1ad8b99c6d127c1967bb3a9302379fe0 Mon Sep 17 00:00:00 2001 From: VaL Doroshchuk Date: Mon, 19 Jun 2017 11:49:59 +0300 Subject: [PATCH] Fixed typo indefiniteTime -> isIndefinite --- .../WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp b/Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp index 6d51411280460..a9c959726dc30 100644 --- a/Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp +++ b/Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp @@ -737,7 +737,7 @@ void AppendPipeline::appsinkNewSample(GstSample* sample) // If we're beyond the duration, ignore this sample and the remaining ones. MediaTime duration = m_mediaSourceClient->duration(); - if (duration.isValid() && !duration.indefiniteTime() && mediaSample->presentationTime() > duration) { + if (duration.isValid() && !duration.isIndefinite() && mediaSample->presentationTime() > duration) { GST_DEBUG("Detected sample (%f) beyond the duration (%f), declaring LastSample", mediaSample->presentationTime().toFloat(), duration.toFloat()); setAppendState(AppendState::LastSample); m_flowReturn = GST_FLOW_OK;