Total Complexity | 4 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class CopyVideoFormat extends DefaultVideo |
||
8 | { |
||
9 | public function __construct() |
||
10 | { |
||
11 | $this->audioCodec = 'copy'; |
||
12 | $this->videoCodec = 'copy'; |
||
13 | |||
14 | $this->kiloBitrate = 0; |
||
15 | $this->audioKiloBitrate = null; |
||
16 | } |
||
17 | |||
18 | /** |
||
19 | * {@inheritDoc} |
||
20 | */ |
||
21 | public function getAvailableAudioCodecs() |
||
22 | { |
||
23 | return ['copy']; |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * {@inheritDoc} |
||
28 | */ |
||
29 | public function getAvailableVideoCodecs() |
||
30 | { |
||
31 | return ['copy']; |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * {@inheritDoc} |
||
36 | */ |
||
37 | public function supportBFrames() |
||
40 | } |
||
41 | } |
||
42 |