Skip to content

Commit

Permalink
Add mpv sample code link for reference
Browse files Browse the repository at this point in the history
  • Loading branch information
karashiiro committed Mar 5, 2024
1 parent 847762c commit b499c5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/simulacrum-dalamud-plugin/Drawing/MpvMediaSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public MpvMediaSource(string? uri, IReadOnlyPlaybackTracker sync)
_handle = new MpvHandle();
_handle.Initialize();

// https://github.com/mpv-player/mpv-examples/blob/master/libmpv/csharp/Form1.cs
_handle.SetOptionString("keep-open"u8, "always"u8);

_handle.Command(new[,] { { "loadfile", uri } });
Expand Down

0 comments on commit b499c5b

Please sign in to comment.