Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
LibVLCSharp
Commits
402db8a6
Commit
402db8a6
authored
Jul 07, 2020
by
Martin Finkel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mac samples: fixup and add logging
parent
1e2bd22a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
11 deletions
+5
-11
samples/LibVLCSharp.Mac.Sample/LibVLCSharp.Mac.Sample.csproj
samples/LibVLCSharp.Mac.Sample/LibVLCSharp.Mac.Sample.csproj
+1
-7
samples/LibVLCSharp.Mac.Sample/ViewController.cs
samples/LibVLCSharp.Mac.Sample/ViewController.cs
+1
-1
samples/LibVLCSharp.NetCore.Sample/LibVLCSharp.NetCore.Sample.csproj
...VLCSharp.NetCore.Sample/LibVLCSharp.NetCore.Sample.csproj
+3
-3
No files found.
samples/LibVLCSharp.Mac.Sample/LibVLCSharp.Mac.Sample.csproj
View file @
402db8a6
...
...
@@ -99,11 +99,5 @@
</ProjectReference>
</ItemGroup>
<Import
Project=
"$(MSBuildExtensionsPath)\Xamarin\Mac\Xamarin.Mac.CSharp.targets"
/>
<Import
Project=
"..\..\packages\VideoLAN.LibVLC.Mac.3.1.3\build\VideoLAN.LibVLC.Mac.targets"
Condition=
"Exists('..\..\packages\VideoLAN.LibVLC.Mac.3.1.3\build\VideoLAN.LibVLC.Mac.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\VideoLAN.LibVLC.Mac.3.1.3\build\VideoLAN.LibVLC.Mac.targets')"
Text=
"$([System.String]::Format('$(ErrorText)', '..\..\packages\VideoLAN.LibVLC.Mac.3.1.3\build\VideoLAN.LibVLC.Mac.targets'))"
/>
</Target>
<Import
Project=
"..\..\src\packages\VideoLAN.LibVLC.Mac.3.2.1.3\build\VideoLAN.LibVLC.Mac.targets"
Condition=
"Exists('..\..\src\packages\VideoLAN.LibVLC.Mac.3.2.1.3\build\VideoLAN.LibVLC.Mac.targets')"
/>
</Project>
\ No newline at end of file
samples/LibVLCSharp.Mac.Sample/ViewController.cs
View file @
402db8a6
...
...
@@ -24,7 +24,7 @@ namespace LibVLCSharp.Mac.Sample
Core
.
Initialize
();
_libVLC
=
new
LibVLC
();
_libVLC
=
new
LibVLC
(
"--verbose=2"
);
_mediaPlayer
=
new
Shared
.
MediaPlayer
(
_libVLC
);
_videoView
=
new
VideoView
{
MediaPlayer
=
_mediaPlayer
};
...
...
samples/LibVLCSharp.NetCore.Sample/LibVLCSharp.NetCore.Sample.csproj
View file @
402db8a6
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp
2
.0</TargetFramework>
<TargetFramework>netcoreapp
3
.0</TargetFramework>
<Platforms>AnyCPU;x64;x86</Platforms>
<RuntimeIdentifiers>win7-x64;win7-x86;osx-x64</RuntimeIdentifiers>
<LangVersion>8.0</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="VideoLAN.LibVLC.Windows" Version="3.0.8" />
<PackageReference Include="VideoLAN.LibVLC.Mac" Version="3.1.3" />
<PackageReference
Condition="$([MSBuild]::IsOsPlatform('Windows'))"
Include="VideoLAN.LibVLC.Windows" Version="3.0.8" />
<PackageReference
Condition="$([MSBuild]::IsOsPlatform('OSX'))"
Include="VideoLAN.LibVLC.Mac" Version="3.1.3" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\LibVLCSharp\LibVLCSharp.csproj" />
...
...
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