scratch – Blame information for rev 115

Subversion Repositories:
Rev:
Rev Author Line No. Line
115 office 1 <?php
2  
3 /*
4 * This file is part of PHP-FFmpeg.
5 *
6 * (c) Alchemy <info@alchemy.fr>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11  
12 namespace FFMpeg\Format\Video;
13  
14 /**
15 * The WMV video format
16 */
17 class WMV3 extends DefaultVideo
18 {
19 public function __construct($audioCodec = 'wmav3', $videoCodec = 'wmv3')
20 {
21 $this
22 ->setAudioCodec($audioCodec)
23 ->setVideoCodec($videoCodec);
24 }
25  
26 /**
27 * {@inheritDoc}
28 */
29 public function supportBFrames()
30 {
31 return false;
32 }
33  
34 /**
35 * {@inheritDoc}
36 */
37 public function getAvailableAudioCodecs()
38 {
39 return array('wmav3');
40 }
41  
42 /**
43 * {@inheritDoc}
44 */
45 public function getAvailableVideoCodecs()
46 {
47 return array('wmv3');
48 }
49 }