[Bug 741542] videodecoder / audio decoder no need to send GST_ELEMENT_ERROR when track corrupt

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Dec 15 01:01:12 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=741542
  GStreamer | gst-plugins-base | 1.4.1

--- Comment #2 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-12-15 09:01:08 UTC ---
The reason for this is that you want some kind of error indication if there was
no data at all but there was supposed to be data. With these errors what you
should get is a single error at the very end of the stream, but e.g. a correct
audio stream would still play fine.

Consider the case where all streams don't play correctly. Without those error
messages just nothing would happen and the stream ends. With these error
messages you get an actual error in the end as expected.


I assume what we could do is that decodebin/uridecodebin/playbin could
aggregate these specific error messages (how to distinguish from others?) and
convert them to a warning message unless all streams had such an error message.
That way you only get an error if all streams actually failed.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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