diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-10-24 18:43:32 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-10-24 18:43:32 (GMT) |
commit | b32153bc5f54424b14330855fed0701aec750fae (patch) | |
tree | f6deb4d465054f38b47a41905f4e379123ebb2bd /src/uscxml/plugins/invoker/ffmpeg | |
parent | 3680f2d86991144f14dc7b40671ffff0c0f68cb2 (diff) | |
download | uscxml-b32153bc5f54424b14330855fed0701aec750fae.zip uscxml-b32153bc5f54424b14330855fed0701aec750fae.tar.gz uscxml-b32153bc5f54424b14330855fed0701aec750fae.tar.bz2 |
Improved mimetype handling
Diffstat (limited to 'src/uscxml/plugins/invoker/ffmpeg')
-rw-r--r-- | src/uscxml/plugins/invoker/ffmpeg/FFMPEGInvoker.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/uscxml/plugins/invoker/ffmpeg/FFMPEGInvoker.cpp b/src/uscxml/plugins/invoker/ffmpeg/FFMPEGInvoker.cpp index 374c287..3d25543 100644 --- a/src/uscxml/plugins/invoker/ffmpeg/FFMPEGInvoker.cpp +++ b/src/uscxml/plugins/invoker/ffmpeg/FFMPEGInvoker.cpp @@ -222,8 +222,7 @@ void FFMPEGInvoker::finish(EncodingContext* ctx, const SendRequest& req) { Event event; event.name = "render.done"; event.data.compound["context"] = context; - event.data.compound["movie"] = Data(movieBuffer, length, true); - event.data.compound["mimetype"] = Data("video/mpeg", Data::VERBATIM); + event.data.compound["movie"] = Data(movieBuffer, length, "video/mpeg", true); event.data.compound["filename"] = Data(std::string("movie.") + ctx->extension, Data::VERBATIM); returnEvent(event); |