[gst-devel] error handling in GStreamer

Ronald Bultje rbultje at ronald.bitfreak.net
Thu Sep 25 03:18:17 CEST 2003


On Thu, 2003-09-25 at 11:58, Bastien Nocera wrote:
> > In an application, the following would thus be possible:
> > a) pop up an error dialog with an advanced button, where "advanced"
> > would show (d) and (e), as well as source code file, line number,
> > function
> 
> I don't like that one, I must say. If it's a programming error, it
> should go as a g_warning, not be user-visible.

The basic idea is to output a GST_DEBUG() output message (which is like
a g_warning()) together with the UI message. Doing all this in one
function makes our life easier.

Ronald

-- 
Ronald Bultje <rbultje at ronald.bitfreak.net>
Linux Video/Multimedia developer





More information about the gstreamer-devel mailing list