Remove suffix of Format classes

This commit is contained in:
Romain Neutron 2012-05-25 20:53:56 +02:00
commit cd33043f78
11 changed files with 47 additions and 47 deletions

View file

@ -11,7 +11,7 @@
namespace FFMpeg\Format;
interface AudioFormat
interface Audio
{
/**

View file

@ -11,14 +11,14 @@
namespace FFMpeg\Format\Audio;
use FFMpeg\Format\DefaultAudioFormat;
use FFMpeg\Format\DefaultAudio;
/**
* The Flac audio format
*
* @author Romain Neutron imprec@gmail.com
*/
class Flac extends DefaultAudioFormat
class Flac extends DefaultAudio
{
protected $audioCodec = 'flac';

View file

@ -11,14 +11,14 @@
namespace FFMpeg\Format\Audio;
use FFMpeg\Format\DefaultAudioFormat;
use FFMpeg\Format\DefaultAudio;
/**
* The MP3 audio format
*
* @author Romain Neutron imprec@gmail.com
*/
class Mp3 extends DefaultAudioFormat
class Mp3 extends DefaultAudio
{
protected $audioCodec = 'libmp3lame';

View file

@ -18,7 +18,7 @@ use FFMpeg\Exception\InvalidArgumentException;
*
* @author Romain Neutron imprec@gmail.com
*/
abstract class DefaultAudioFormat implements AudioFormat
abstract class DefaultAudio implements Audio
{
protected $audioCodec;
protected $audioSampleRate = 44100;

View file

@ -18,7 +18,7 @@ use FFMpeg\Exception\InvalidArgumentException;
*
* @author Romain Neutron imprec@gmail.com
*/
abstract class DefaultVideoFormat extends DefaultAudioFormat implements VideoFormat
abstract class DefaultVideo extends DefaultAudio implements Video
{
protected $width;
protected $height;

View file

@ -16,7 +16,7 @@ namespace FFMpeg\Format;
*
* @author Romain Neutron imprec@gmail.com
*/
interface VideoFormat extends AudioFormat
interface Video extends Audio
{
/**

View file

@ -11,14 +11,14 @@
namespace FFMpeg\Format\Video;
use FFMpeg\Format\DefaultVideoFormat;
use FFMpeg\Format\DefaultVideo;
/**
* The Ogg video format
*
* @author Romain Neutron imprec@gmail.com
*/
class Ogg extends DefaultVideoFormat
class Ogg extends DefaultVideo
{
protected $audioCodec = 'libvorbis';
protected $videoCodec = 'libtheora';

View file

@ -11,14 +11,14 @@
namespace FFMpeg\Format\Video;
use FFMpeg\Format\DefaultVideoFormat;
use FFMpeg\Format\DefaultVideo;
/**
* The WebM video format
*
* @author Romain Neutron imprec@gmail.com
*/
class WebM extends DefaultVideoFormat
class WebM extends DefaultVideo
{
protected $audioCodec = 'libvorbis';
protected $videoCodec = 'libvpx';

View file

@ -11,14 +11,14 @@
namespace FFMpeg\Format\Video;
use FFMpeg\Format\DefaultVideoFormat;
use FFMpeg\Format\DefaultVideo;
/**
* The X264 video format
*
* @author Romain Neutron imprec@gmail.com
*/
class X264 extends DefaultVideoFormat
class X264 extends DefaultVideo
{
protected $audioCodec = 'libmp3lame';
protected $videoCodec = 'libx264';