[Bug 756187] New: appsink EOS flushing behavior

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Oct 7 06:21:46 PDT 2015


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

            Bug ID: 756187
           Summary: appsink EOS flushing behavior
    Classification: Platform
           Product: GStreamer
           Version: 1.6.0
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: jake.foytik at ipconfigure.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

While updating our application from gstreamer 1.4.5 to 1.6.0 we noticed that
the behavior of appsink has changed during EOS events. In 1.6.0, logic was
added so that when an EOS event is received the appsink will block until all of
its internal buffers have been processed. 

In our implementation, we make the assumption that an appsink consumer may or
may not be connected at a given time. We assume that the pipeline is functional
with no appsink consumer which is not the case in 1.6.0.

A simple fix would be to add an option to appsink that disables the while loop
that waits for all buffers to be processed in the GST_EVENT_EOS case in
gst_app_sink_event() function.

We would be happy to provide a patch if this solution is agreeable.

Thanks

-- 
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