Commit d1a3cc84 authored by Martin Finkel's avatar Martin Finkel

MediaType is implicitly FromPath

parent 27603c46
......@@ -311,7 +311,7 @@ namespace LibVLCSharp.Shared
/// <param name="instance">A libvlc instance</param>
/// <param name="mrl">A path, location, or node name, depending on the 3rd parameter</param>
/// <param name="type">The type of the 2nd argument. \sa{FromType}</param>
public Media(Instance instance, string mrl, FromType type)
public Media(Instance instance, string mrl, FromType type = FromType.FromPath)
: base(() => SelectNativeCtor(instance, mrl, type), Native.LibVLCMediaRelease)
{
}
......
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