mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
Revert "multifilesink: close file on write error with next-file mode is set to buffer"
This reverts commit84e441d268
. This will no longer be needed once we revertf1ceaab02
.
This commit is contained in:
parent
375f3aab89
commit
6ab88a7f78
1 changed files with 1 additions and 3 deletions
|
@ -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…
Reference in a new issue