We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ab2d9d commit 0634d48Copy full SHA for 0634d48
php/media/class-video.php
@@ -445,7 +445,7 @@ public function default_video_transformations( $default ) {
445
if ( ! empty( $this->config['video_limit_bitrate'] ) ) {
446
$default['bit_rate'] = $this->config['video_bitrate'] . 'k';
447
}
448
- if ( true === $this->config['video_optimization'] ) {
+ if ( ! empty( $this->config['video_optimization'] ) && true === $this->config['video_optimization'] ) {
449
if ( 'auto' === $this->config['video_format'] ) {
450
$default['fetch_format'] = 'auto';
451
0 commit comments