Make the ffmpeg importer declare that it is animated
authorpabs3 <pabs3@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 5 Nov 2008 09:38:18 +0000 (09:38 +0000)
committerpabs3 <pabs3@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 5 Nov 2008 09:38:18 +0000 (09:38 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2152 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/modules/mod_ffmpeg/mptr_ffmpeg.cpp
synfig-core/trunk/src/modules/mod_ffmpeg/mptr_ffmpeg.h

index 6a4c3f6..83a086e 100644 (file)
@@ -77,6 +77,11 @@ SYNFIG_IMPORTER_SET_CVS_ID(ffmpeg_mptr,"$Id$");
 
 /* === M E T H O D S ======================================================= */
 
+bool ffmpeg_mptr::is_animated()
+{
+       return true;
+}
+
 bool
 ffmpeg_mptr::seek_to(int frame)
 {
index 9e421c9..3e53931 100644 (file)
@@ -67,6 +67,7 @@ public:
        ffmpeg_mptr(const char *filename);
        ~ffmpeg_mptr();
 
+       virtual bool is_animated();
 
        virtual bool get_frame(synfig::Surface &surface,synfig::Time time, synfig::ProgressCallback *callback);
 };