整理代码
This commit is contained in:
commit
c7b4e178ec
364 changed files with 59691 additions and 0 deletions
31
video/core/VideoComponent.cpp
Normal file
31
video/core/VideoComponent.cpp
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* INCLUDE
|
||||
*******************************************************************************
|
||||
*/
|
||||
#include "AudioComponent.h"
|
||||
#include "VideoComponent.h"
|
||||
|
||||
namespace Video
|
||||
{
|
||||
namespace Core
|
||||
{
|
||||
/*
|
||||
*******************************************************************************
|
||||
* CLASS DEFINE
|
||||
*******************************************************************************
|
||||
*/
|
||||
Core::VideoComponent::VideoComponent(const std::string& name): Component(name)
|
||||
{
|
||||
setWidth(1920);
|
||||
setHeight(1080);
|
||||
setFrameRate(30);
|
||||
setVideoScanMode(VideoScanMode::PROGRESSIVE);
|
||||
setSignalLost(true);
|
||||
}
|
||||
|
||||
VideoComponent::~VideoComponent()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue