From 6a7cbb040fbed4a65124b2232ed7d508748660f8 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 22 Jun 2014 12:42:50 -0400 Subject: [PATCH] don't direct stream anamorphic video to web client --- dashboard-ui/scripts/mediaplayer.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dashboard-ui/scripts/mediaplayer.js b/dashboard-ui/scripts/mediaplayer.js index ae2cf43334..1b55247e54 100644 --- a/dashboard-ui/scripts/mediaplayer.js +++ b/dashboard-ui/scripts/mediaplayer.js @@ -275,6 +275,11 @@ return false; } + if (videoStream && videoStream.IsAnamorphic) { + console.log('Transcoding because video is anamorphic'); + return false; + } + if (!mediaSource.Bitrate || mediaSource.Bitrate > bitrate) { console.log('Transcoding because bitrate is too high'); return false;