Commit badbe146 authored by Martin Finkel's avatar Martin Finkel

Add doc for Media.Retain

(cherry picked from commit 5c40035ba28bd4b83d97bc75ea1afb55e2ac0f27)
parent 0a2c5a52
...@@ -711,7 +711,8 @@ namespace LibVLCSharp.Shared ...@@ -711,7 +711,8 @@ namespace LibVLCSharp.Shared
DicStreams.TryRemove(handle, out var result); DicStreams.TryRemove(handle, out var result);
} }
void Retain() /// <summary>Increments the native reference counter for the media</summary>
public void Retain()
{ {
if (NativeReference != IntPtr.Zero) if (NativeReference != IntPtr.Zero)
Native.LibVLCMediaRetain(NativeReference); Native.LibVLCMediaRetain(NativeReference);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment