gstreamer/gstreamer-sharp/glue/message.c
Aaron Bockover b94528f8e7 Initial import of the sleek new gstreamer-sharp, a massive WIP
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@60875 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-05-19 19:24:35 +00:00

15 lines
278 B
C

#include <glib/gerror.h>
#include <gst/gstmessage.h>
gchar* gstsharp_message_parse_error (GstMessage *message)
{
GError *gerror;
gchar *error;
gst_message_parse_error (message, &gerror, NULL);
error = g_strdup (gerror->message);
g_error_free (gerror);
return error;
}