Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Martin Finkel
vlc-unity
Commits
38ef476d
Commit
38ef476d
authored
Feb 06, 2020
by
Martin Finkel
Browse files
documentation.txt: update reference to coroutine/update function
Both ways work
parent
38c929f0
Changes
1
Show whitespace changes
Inline
Side-by-side
Assets/VLC-Unity-Windows/documentation.txt
View file @
38ef476d
...
...
@@ -27,7 +27,7 @@ LibVLC = new LibVLC();
MediaPlayer = new MediaPlayer(LibVLC);
```
The frame updating is done in a Unity coroutine
The frame updating is done in a Unity coroutine
or Update() function
```
IntPtr texptr = MediaPlayer.GetFrame(out bool updated);
if (updated)
...
...
@@ -36,7 +36,7 @@ if (updated)
}
```
See U
seRenderingPlugin.CallPluginAtEndOfFrames()
for more details.
See U
pdate() function
for more details.
Once that is all setup, you can create a new Media and start playback like so
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment