mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-11 09:49:07 +00:00
use LGPL builds
This commit is contained in:
@@ -44,7 +44,7 @@ namespace QuickLook.Plugin.VideoViewer
|
|||||||
private FFprobe probe;
|
private FFprobe probe;
|
||||||
|
|
||||||
public int Priority => 0 - 10; // make it lower than TextViewer
|
public int Priority => 0 - 10; // make it lower than TextViewer
|
||||||
public bool AllowsTransparency => true;
|
public bool AllowsTransparency => false;
|
||||||
|
|
||||||
public void Init()
|
public void Init()
|
||||||
{
|
{
|
||||||
|
@@ -138,6 +138,9 @@
|
|||||||
<Content Include="ffmpeg\x64\ffprobe.exe">
|
<Content Include="ffmpeg\x64\ffprobe.exe">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="ffmpeg\x64\postproc-54.dll">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="ffmpeg\x64\swresample-2.dll">
|
<Content Include="ffmpeg\x64\swresample-2.dll">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
@@ -165,6 +168,9 @@
|
|||||||
<Content Include="ffmpeg\x86\ffprobe.exe">
|
<Content Include="ffmpeg\x86\ffprobe.exe">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="ffmpeg\x86\postproc-54.dll">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="ffmpeg\x86\swresample-2.dll">
|
<Content Include="ffmpeg\x86\swresample-2.dll">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
Binary file not shown.
Binary file not shown.
@@ -75,6 +75,7 @@ namespace QuickLook.Plugin.VideoViewer
|
|||||||
if (_wasPlaying) mediaElement.Play();
|
if (_wasPlaying) mediaElement.Play();
|
||||||
};
|
};
|
||||||
mediaElement.MediaFailed += ShowErrorNotification;
|
mediaElement.MediaFailed += ShowErrorNotification;
|
||||||
|
mediaElement.MediaOpening += (sender, e) => e.Options.EnableHardwareAcceleration = true;
|
||||||
/*mediaElement.MediaEnded += (s, e) =>
|
/*mediaElement.MediaEnded += (s, e) =>
|
||||||
{
|
{
|
||||||
if (mediaElement.IsOpen)
|
if (mediaElement.IsOpen)
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user