Wrap FFmpeg operations in mutexes, switch to MP4

I can't believe I wasn't doing this.  This is why file output was
getting corrupted.  Audio and video send in data from separate threads.
I should be embarassed for not having considered that.

Key lesson:  Increase threading paranoia levels.  Apparently my
threading paranoid levels are lackluster.
This commit is contained in:
jp9000 committed 2014-02-28 03:50:30 -07:00
1 parent d5b0121e79
commit 4e10eeda09
3 files changed
+23 -6

No files matched your search

+1 -1
View File
@@ -601,7 +601,7 @@ void OBSBasic::on_recordButton_clicked()
} else {
QString path = QFileDialog::getSaveFileName(this,
"Please enter a file name", QString(),
"AVI Files (*.avi)");
"MP4 Files (*.mp4)");
if (path.isNull() || path.isEmpty())
return;