mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 23:20:04 +08:00
Added .mjpg and .mjpeg file types to video list
This commit is contained in:
@@ -197,7 +197,8 @@ int main( int argc, const char** argv )
|
|||||||
|
|
||||||
std::cout << "Video processing ended" << std::endl;
|
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()))
|
if (fileExists(filename.c_str()))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user