updated main_window.cpp

This commit is contained in:
lostjared
2018-06-03 14:58:50 -07:00
parent eb298c04ab
commit 1b1905f97c

View File

@@ -481,7 +481,7 @@ bool AC_MainWindow::startCamera(int res, int dev, const QString &outdir, bool re
#if defined(__APPLE__) || defined(__linux__) #if defined(__APPLE__) || defined(__linux__)
ext = (type == 0) ? ".mov" : ".avi"; ext = (type == 0) ? ".mov" : ".avi";
#else #else
ext = ".mov"; ext = (type == 0) ? ".mov" : ".mov";
#endif #endif
Log(tr("Capture Device Opened [Camera]\n")); Log(tr("Capture Device Opened [Camera]\n"));
std::ostringstream time_stream; std::ostringstream time_stream;
@@ -591,7 +591,7 @@ bool AC_MainWindow::startVideo(const QString &filename, const QString &outdir, b
#if defined(__APPLE__) || defined(__linux__) #if defined(__APPLE__) || defined(__linux__)
ext = (type == 0) ? ".mov" : ".avi"; ext = (type == 0) ? ".mov" : ".avi";
#else #else
ext = ".mov"; ext = (type == 0) ? ".mov" : ".mov";
#endif #endif
std::ostringstream time_stream; std::ostringstream time_stream;
time_stream << "-" << (m->tm_year + 1900) << "." << (m->tm_mon + 1) << "." << m->tm_mday << "_" << m->tm_hour << "." << m->tm_min << "." << m->tm_sec << "_"; time_stream << "-" << (m->tm_year + 1900) << "." << (m->tm_mon + 1) << "." << m->tm_mday << "_" << m->tm_hour << "." << m->tm_min << "." << m->tm_sec << "_";