From 8ca98912e2debb1794c852f5d70d7eb3c507bc1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zavark=C3=B3=20G=C3=A1bor?= Date: Sat, 16 Nov 2019 14:27:33 +0100 Subject: [PATCH] Fix the stream latency sample settings (#458) --- Unosquare.FFME.Windows.Sample/MainWindow.MediaEvents.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Unosquare.FFME.Windows.Sample/MainWindow.MediaEvents.cs b/Unosquare.FFME.Windows.Sample/MainWindow.MediaEvents.cs index a07ed1b3b..de77c9390 100644 --- a/Unosquare.FFME.Windows.Sample/MainWindow.MediaEvents.cs +++ b/Unosquare.FFME.Windows.Sample/MainWindow.MediaEvents.cs @@ -110,9 +110,9 @@ private void OnMediaInitializing(object sender, MediaInitializingEventArgs e) } // In realtime streams these settings can be used to reduce latency (see example from issue #152) - // e.Options.GlobalOptions.FlagNoBuffer = true; - // e.Options.GlobalOptions.ProbeSize = 8192; - // e.Options.GlobalOptions.MaxAnalyzeDuration = System.TimeSpan.FromSeconds(1); + // e.Configuration.GlobalOptions.FlagNoBuffer = true; + // e.Configuration.GlobalOptions.ProbeSize = 8192; + // e.Configuration.GlobalOptions.MaxAnalyzeDuration = TimeSpan.FromSeconds(1); } /// @@ -507,4 +507,4 @@ private VideoSeekIndex LoadOrCreateVideoSeekIndex(string mediaFilePath, int stre #endregion } -} \ No newline at end of file +}