mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-16 20:00:01 +01:00
updated main_window.cpp
This commit is contained in:
@@ -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 << "_";
|
||||||
|
|||||||
Reference in New Issue
Block a user