OSDN Git Service

連番ファイルの読み込みに対応.
[paldema/paldema.git] / src / cpp / pdvideo.h
index 1895f08..c0d3ce4 100644 (file)
@@ -7,6 +7,7 @@
 #define PD_VIDEO_INCLUDED
 
 #include "common.h"
+#include <sys/stat.h>
 
 namespace pd {
 
@@ -17,6 +18,7 @@ class Video {
     int t;
     
     Video(std::vector<std::string> filenames, int frames);
+    explicit Video(std::string filename);
     virtual ~Video();
     IplImage* getImage();
     IplImage* next();