[Bug 762434] New: multifilesink: close file on write error with next-file mode is set to buffer

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Feb 22 10:58:31 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=762434

            Bug ID: 762434
           Summary: multifilesink: close file on write error with
                    next-file mode is set to buffer
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: aurelien.zanelli at parrot.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

When using a multifilesink with next-mode set to buffer, if we have an error
during a fwrite call, the file stays open and if application handles the
GST_FLOW_ERROR and doesn't restart multifilesink by doing a state change, the
next incoming buffer will trigger and assert when trying to opening the next
file:

CRITICAL **: gst_multi_file_sink_open_next_file: assertion 'multifilesink->file
== NULL' failed

Closing the file after a write error allows element to recover.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list