Return codes

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Return codes

Wes Miller
Administrator
I've noticed the documentation for several of the gst... functions that return something besides a boolean or a coded status, say they return a pointer to this or an instance of that, but never say what they return if they fail.  I'd expect NULL to be the error indicator.  Is this the case or is that an item we ought to think of adding to the bug list?

Wes

Reply | Threaded
Open this post in threaded view
|

Re: Return codes

Stefan Sauer
Am 18.05.2010 17:06, schrieb Wes Miller:
>
> I've noticed the documentation for several of the gst... functions that
> return something besides a boolean or a coded status, say they return a
> pointer to this or an instance of that, but never say what they return if
> they fail.  I'd expect NULL to be the error indicator.  Is this the case or
> is that an item we ought to think of adding to the bug list?

Usually out variables are undefined on error.

Stefan

>
> Wes
>
>


------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel