diff --git a/lib/polyfill/media_capabilities.js b/lib/polyfill/media_capabilities.js index c579d81f1c..6f0dfea11d 100644 --- a/lib/polyfill/media_capabilities.js +++ b/lib/polyfill/media_capabilities.js @@ -328,7 +328,7 @@ shaka.polyfill.MediaCapabilities = class { let displayType = videoConfig.contentType; if (videoConfig.width && videoConfig.height) { // All Chromecast can support 720p videos - if (videoConfig.width > 1280 || videoConfig.height > 720) { + if (videoConfig.width > 1280 && videoConfig.height > 720) { displayType += `; width=${videoConfig.width}; height=${videoConfig.height}`; } diff --git a/test/transmuxer/transmuxer_integration.js b/test/transmuxer/transmuxer_integration.js index 5a3f4f5274..7d5428386e 100644 --- a/test/transmuxer/transmuxer_integration.js +++ b/test/transmuxer/transmuxer_integration.js @@ -353,13 +353,6 @@ describe('Transmuxer Player', () => { /* width= */ 720, /* height= */ 1280)) { pending('Codec H.265 is not supported by the platform.'); } - if (shaka.util.Platform.isChromecast()) { - // FIXME: Test disabled on Chromecast. Now that our test environment - // can do full support checks on Chromecast, including resolution, this - // 720x1280 vertical video is over the limit for a 1080p screen. This - // fails on any Chromecast with H.265 support. - pending('Disabled on Chromecast.'); - } // eslint-disable-next-line max-len await player.load('/base/test/test/assets/hls-ts-muxed-aac-h265/media.m3u8');