mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-02 23:08:00 +03:00
Finished source/
This commit is contained in:
parent
cb638cd44e
commit
6281685f73
2 changed files with 22 additions and 44 deletions
|
@ -20,7 +20,6 @@ class FFMpegSource : public SampleSource
|
|||
AVFormatContext *FmtCtx;
|
||||
AVCodecContext *CodecCtx;
|
||||
int StreamNum;
|
||||
bool empty;
|
||||
|
||||
std::vector<uint8_t> storage;
|
||||
|
||||
|
@ -41,7 +40,14 @@ class FFMpegSource : public SampleSource
|
|||
#include "loadertemplate.h"
|
||||
|
||||
/// A factory that loads FFMpegSources from file
|
||||
typedef SSL_Template<AudiereSource,false,true> AudiereLoader;
|
||||
class FFMpegLoader : public SSL_Template<AudiereSource,false,true>
|
||||
{
|
||||
public:
|
||||
|
||||
/// Sets up the libavcodec library. If you want to do your own
|
||||
/// setup, send a setup=false parameter.
|
||||
FFMpegLoader(bool setup=true);
|
||||
};
|
||||
|
||||
}} // namespaces
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue