From 765a41685d88901d8a394f211ba72614e491cbfd Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Mon, 19 May 2014 22:30:22 -0500 Subject: [PATCH] Added .mjpg and .mjpeg file types to video list --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 8a7c76a..e6c9ff3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -197,7 +197,8 @@ int main( int argc, const char** argv ) std::cout << "Video processing ended" << std::endl; } - else if (hasEnding(filename, ".avi") || hasEnding(filename, ".mp4") || hasEnding(filename, ".webm") || hasEnding(filename, ".flv")) + else if (hasEnding(filename, ".avi") || hasEnding(filename, ".mp4") || hasEnding(filename, ".webm") || + hasEnding(filename, ".flv") || hasEnding(filename, ".mjpg") || hasEnding(filename, ".mjpeg")) { if (fileExists(filename.c_str())) {