let textviewer be piror to videoviewer

This commit is contained in:
Paddy Xu
2017-07-31 00:34:42 +03:00
parent 4ffe24f427
commit 24c03163f6

View File

@@ -30,7 +30,7 @@ namespace QuickLook.Plugin.VideoViewer
private FFprobe _probe; private FFprobe _probe;
private ViewerPanel _vp; private ViewerPanel _vp;
public int Priority => int.MaxValue - 10; // make it lower than ImageViewer public int Priority => 0 - 10; // make it lower than TextViewer
public bool AllowsTransparency => true; public bool AllowsTransparency => true;
public void Init() public void Init()
@@ -56,7 +56,9 @@ namespace QuickLook.Plugin.VideoViewer
// ass // ass
".ass", ".ass",
// apng // apng
".png", ".apng" ".png", ".apng",
// asterisk (pcmdec)
".gsm", ".sln"
}; };
if (blacklist.Contains(Path.GetExtension(path).ToLower())) if (blacklist.Contains(Path.GetExtension(path).ToLower()))