ffmpegengineinformation.cpp Example File
ffmpeg/ffmpegengineinformation.cpp
#include "ffmpegurisessionbuilder.h"
#include "ffmpegengineinformation.h"
namespace ffmpeg
{
class EngineInformationPrivate
{
public:
Engine* engine;
QMediaSessionBuilderList sessionBuilders;
};
EngineInformation::EngineInformation(Engine* engine):
d(new EngineInformationPrivate)
{
d->engine = engine;
d->sessionBuilders.append(new UriSessionBuilder(engine));
}
EngineInformation::~EngineInformation()
{
delete d;
}
QString EngineInformation::name() const
{
return "FFMPEG";
}
QString EngineInformation::version() const
{
return "0.1";
}
int EngineInformation::idleTime() const
{
return -1;
}
bool EngineInformation::hasExclusiveDeviceAccess() const
{
#ifdef HAVE_OSS
return true;
#else
return false;
#endif
}
QMediaSessionBuilderList EngineInformation::sessionBuilders() const
{
return d->sessionBuilders;
}
}
Copyright © 2009 Nokia |
Trademarks |
Qt Extended 4.4.3 |