X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftags%2Fstable%2Fsrc%2Fmodules%2Fmod_libavcodec%2Fmptr.cpp;fp=synfig-core%2Ftags%2Fstable%2Fsrc%2Fmodules%2Fmod_libavcodec%2Fmptr.cpp;h=667968bfedfe779af6bebbe9431a883538834a72;hb=20067bb96af6946754e7ecb7b40673b818f6e5c2;hp=0000000000000000000000000000000000000000;hpb=53544b824fbe6c9f1585cd79db427df8f0d556d8;p=synfig.git diff --git a/synfig-core/tags/stable/src/modules/mod_libavcodec/mptr.cpp b/synfig-core/tags/stable/src/modules/mod_libavcodec/mptr.cpp new file mode 100644 index 0000000..667968b --- /dev/null +++ b/synfig-core/tags/stable/src/modules/mod_libavcodec/mptr.cpp @@ -0,0 +1,72 @@ +/* === S Y N F I G ========================================================= */ +/*! \file mptr.cpp +** \brief writeme +** +** $Id$ +** +** \legal +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** +** This package is free software; you can redistribute it and/or +** modify it under the terms of the GNU General Public License as +** published by the Free Software Foundation; either version 2 of +** the License, or (at your option) any later version. +** +** This package is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +** General Public License for more details. +** \endlegal +*/ +/* ========================================================================= */ + +/* === H E A D E R S ======================================================= */ + +#define SYNFIG_NO_ANGLE + +#ifdef USING_PCH +# include "pch.h" +#else +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "mptr.h" +#include +#include + +#include +#include +#endif + +/* === U S I N G =========================================================== */ + +using namespace synfig; +using namespace std; +using namespace etl; + +/* === G L O B A L S ======================================================= */ + +SYNFIG_IMPORTER_INIT(Importer_LibAVCodec); +SYNFIG_IMPORTER_SET_NAME(Importer_LibAVCodec,"libav"); +SYNFIG_IMPORTER_SET_EXT(Importer_LibAVCodec,"avi"); +SYNFIG_IMPORTER_SET_VERSION(Importer_LibAVCodec,"0.1"); +SYNFIG_IMPORTER_SET_CVS_ID(Importer_LibAVCodec,"$Id$"); + +/* === M E T H O D S ======================================================= */ + + +Importer_LibAVCodec::Importer_LibAVCodec(const char *file): + filename(file) +{ +} + +Importer_LibAVCodec::~Importer_LibAVCodec() +{ +} + +bool +Importer_LibAVCodec::get_frame(synfig::Surface &/*surface*/,Time, synfig::ProgressCallback */*cb*/) +{ + return false; +}