Commit eabeb7fb authored by Jérémy VIGNELLES's avatar Jérémy VIGNELLES Committed by Martin Finkel

Fixed build warnings

Removed Fody on Android Sample project

(cherry picked from commit 8e0724723f27ddffefecb38dbba6e72d97630ab8)
parent d327b8dc
<?xml version="1.0" encoding="utf-8"?>
<Weavers>
</Weavers>
\ No newline at end of file
......@@ -96,16 +96,11 @@
<Name>LibVLCSharp</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="FodyWeavers.xml" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<Import Project="..\packages\Fody.2.3.3\build\netstandard1.0\Fody.targets" Condition="Exists('..\packages\Fody.2.3.3\build\netstandard1.0\Fody.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\Fody.2.3.3\build\netstandard1.0\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.2.3.3\build\netstandard1.0\Fody.targets'))" />
<Error Condition="!Exists('..\packages\VideoLAN.LibVLC.Android.3.0.0-alpha\build\VideoLAN.LibVLC.Android.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\VideoLAN.LibVLC.Android.3.0.0-alpha\build\VideoLAN.LibVLC.Android.targets'))" />
</Target>
<Import Project="..\packages\VideoLAN.LibVLC.Android.3.0.0-alpha\build\VideoLAN.LibVLC.Android.targets" Condition="Exists('..\packages\VideoLAN.LibVLC.Android.3.0.0-alpha\build\VideoLAN.LibVLC.Android.targets')" />
......
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Cauldron.Interception.Fody" version="2.0.29" targetFramework="monoandroid71" />
<package id="Fody" version="2.3.3" targetFramework="monoandroid71" developmentDependency="true" />
<package id="VideoLAN.LibVLC.Android" version="3.0.0-alpha" targetFramework="monoandroid71" />
</packages>
\ No newline at end of file
......@@ -54,12 +54,5 @@ namespace LibVLCSharp.Platforms.Android
//_mp.VideoTrackEnabled = false;
}
}
public void Dispose()
{
}
public IntPtr Handle { get; }
}
}
\ No newline at end of file
......@@ -682,6 +682,11 @@ namespace LibVLCSharp.Shared
EqualityComparer<IntPtr>.Default.Equals(NativeReference, media.NativeReference);
}
public override int GetHashCode()
{
return this.NativeReference.GetHashCode();
}
internal class StreamData
{
public IntPtr Handle { get; set; }
......
......@@ -1206,6 +1206,11 @@ namespace LibVLCSharp.Shared
EqualityComparer<IntPtr>.Default.Equals(NativeReference, player.NativeReference);
}
public override int GetHashCode()
{
return this.NativeReference.GetHashCode();
}
/// <summary>
/// Get current audio delay (microseconds).
/// </summary>
......
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