Browse Source

Revert "obs-ffmpeg: Add error detection to ffmpeg-mux"

This reverts commit 4f87337646f4db0d50a4ebb257faf0640a729805.

Reverting the line in 4f87337646f4d causing issues until it can be
properly investigated.
jp9000 5 years ago
parent
commit
ffe4c8552b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/obs-ffmpeg/ffmpeg-mux/ffmpeg-mux.c

+ 1 - 1
plugins/obs-ffmpeg/ffmpeg-mux/ffmpeg-mux.c

@@ -851,7 +851,7 @@ int main(int argc, char *argv[])
 		resize_buf_resize(&rb, info.size);
 
 		if (safe_read(rb.buf, info.size) == info.size) {
-			fail = !ffmpeg_mux_packet(&ffm, rb.buf, &info);
+			ffmpeg_mux_packet(&ffm, rb.buf, &info);
 		} else {
 			fail = true;
 		}