Commit fa6a4f2b authored by Marcelo Rivera's avatar Marcelo Rivera

(fix): renamed 'charge' attribute to 'pro'

1 merge request!3731080p encoding for pro
Pipeline #93494042 running with stages
......@@ -225,7 +225,7 @@ class FFMpeg implements ServiceInterface
'formats' => ['mp4', 'webm'],
], $opts);
if ($opts['charge'] && !$this->full_hd) {
if ($opts['pro'] && !$this->full_hd) {
continue;
}
......
......@@ -540,7 +540,7 @@ $CONFIG->set('transcoder', [
'bitrate' => 500,
'audio_bitrate' => 80,
'formats' => [ 'mp4', 'webm' ],
'charge' => false,
'pro' => false,
],
[
'width' => 1280,
......@@ -548,7 +548,7 @@ $CONFIG->set('transcoder', [
'bitrate' => 2000,
'audio_bitrate' => 128,
'formats' => [ 'mp4', 'webm' ],
'charge' => false,
'pro' => false,
],
[
'width' => 1920,
......@@ -556,7 +556,7 @@ $CONFIG->set('transcoder', [
'bitrate' => 2000,
'audio_bitrate' => 128,
'formats' => [ 'mp4', 'webm' ],
'charge' => true,
'pro' => true,
],
]
]);
......
Please register or to comment