[Bug 733171] baseparse: handling of EOS when no output produced

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Mar 25 07:39:31 PDT 2015


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

--- Comment #2 from Thiago Sousa Santos <thiagossantos at gmail.com> ---
Created attachment 300284
  --> https://bugzilla.gnome.org/attachment.cgi?id=300284&action=edit
baseparse: only post 'no valid frames' error if buffers were received

Otherwise baseparse will consider empty streams to be an error while
an empty stream is a valid scenario. With this patch, errors would
only be emitted if the parser received data but wasn't able to
produce any output from it.

This change is only for push-mode operation as in pull mode an
empty file can be considered an error for the one driving the
pipeline

Includes a unit test for it

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