Skip to content

Commit 8ca9891

Browse files
zgabimariodivece
authored andcommitted
Fix the stream latency sample settings (#458)
1 parent 5c408ac commit 8ca9891

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Unosquare.FFME.Windows.Sample/MainWindow.MediaEvents.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ private void OnMediaInitializing(object sender, MediaInitializingEventArgs e)
110110
}
111111

112112
// In realtime streams these settings can be used to reduce latency (see example from issue #152)
113-
// e.Options.GlobalOptions.FlagNoBuffer = true;
114-
// e.Options.GlobalOptions.ProbeSize = 8192;
115-
// e.Options.GlobalOptions.MaxAnalyzeDuration = System.TimeSpan.FromSeconds(1);
113+
// e.Configuration.GlobalOptions.FlagNoBuffer = true;
114+
// e.Configuration.GlobalOptions.ProbeSize = 8192;
115+
// e.Configuration.GlobalOptions.MaxAnalyzeDuration = TimeSpan.FromSeconds(1);
116116
}
117117

118118
/// <summary>
@@ -507,4 +507,4 @@ private VideoSeekIndex LoadOrCreateVideoSeekIndex(string mediaFilePath, int stre
507507

508508
#endregion
509509
}
510-
}
510+
}

0 commit comments

Comments
 (0)