#include #include namespace CVD { template <> VideoBuffer* makeVideoFileBuffer(const std::string& file, VideoBufferFlags::OnEndOfBuffer eob, bool verbose, const std::string& fn, const std::map& opts) { VideoFileBuffer* vb = new VideoFileBuffer(file, fn, verbose, opts); vb->on_end_of_buffer(eob); return vb; } template <> VideoBuffer>* makeVideoFileBuffer(const std::string& file, VideoBufferFlags::OnEndOfBuffer eob, bool verbose, const std::string& fn, const std::map& opts) { VideoFileBuffer>* vb = new VideoFileBuffer>(file, fn, verbose, opts); vb->on_end_of_buffer(eob); return vb; } }