blob: c04c90d37d46abe9bf7f098aa10171f4a2b41005 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#include "FFMPEGInvoker.h"
#include <glog/logging.h>
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#ifdef BUILD_AS_PLUGINS
#include <Pluma/Connector.hpp>
#endif
namespace uscxml {
#ifdef BUILD_AS_PLUGINS
PLUMA_CONNECTOR
bool connect(pluma::Host& host) {
host.add( new FFMPEGInvokerProvider() );
return true;
}
#endif
FFMPEGInvoker::FFMPEGInvoker() {
}
FFMPEGInvoker::~FFMPEGInvoker() {
};
boost::shared_ptr<InvokerImpl> FFMPEGInvoker::create(InterpreterImpl* interpreter) {
boost::shared_ptr<FFMPEGInvoker> invoker = boost::shared_ptr<FFMPEGInvoker>(new FFMPEGInvoker());
invoker->_interpreter = interpreter;
return invoker;
}
Data FFMPEGInvoker::getDataModelVariables() {
Data data;
return data;
}
void FFMPEGInvoker::send(const SendRequest& req) {
}
void FFMPEGInvoker::cancel(const std::string sendId) {
}
void FFMPEGInvoker::invoke(const InvokeRequest& req) {
// AVIOContext* avCtx = avio_alloc_context();
}
}
|