mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-11 09:49:07 +00:00
@@ -123,7 +123,9 @@ namespace QuickLook.Plugin.VideoViewer
|
||||
var tracks = media.GetTracks();
|
||||
var video = tracks.FirstOrDefault(mt => mt.Type == TrackType.Video) as VideoTrack;
|
||||
|
||||
size = video == null ? Size.Empty : new Size(video.Width, video.Height);
|
||||
size = video == null
|
||||
? Size.Empty
|
||||
: new Size(Math.Max(1366, video.Width), Math.Max(768, video.Height));
|
||||
|
||||
return video != null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user