Commit 6ab88a7f authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

Revert "multifilesink: close file on write error with next-file mode is set to buffer"

This reverts commit 84e441d2.

This will no longer be needed once we revert f1ceaab0.
parent 375f3aab
......@@ -626,10 +626,8 @@ gst_multi_file_sink_write_buffer (GstMultiFileSink * multifilesink,
"Writing buffer data (%" G_GSIZE_FORMAT " bytes) to new file",
map.size);
ret = fwrite (map.data, map.size, 1, multifilesink->file);
if (ret != 1) {
gst_multi_file_sink_close_file (multifilesink, NULL);
if (ret != 1)
goto stdio_write_error;
}
gst_multi_file_sink_close_file (multifilesink, buffer);
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment