Revert "multifilesink: close file on write error with next-file mode is set to buffer"
This reverts commit 84e441d2685cf223d348a95be0c5ba693bbf6624. This will no longer be needed once we revert f1ceaab02.
This commit is contained in:
parent
375f3aab89
commit
6ab88a7f78
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user