Begin adding audio project stuff

This commit is contained in:
Jaime Thomas
2008-06-04 00:24:13 +00:00
parent 43d71c6cda
commit 064e3174c4
4 changed files with 98 additions and 5 deletions

View File

@ -11,8 +11,7 @@ bus_call(GstBus *bus, GstMessage *msg, gpointer data)
{
case GST_MESSAGE_EOS:
{
g_print("End of stream\n");
g_print("Send data back to main program\n");
g_print("EOS\n");
g_main_loop_quit(loop);
break;
}
@ -24,8 +23,7 @@ bus_call(GstBus *bus, GstMessage *msg, gpointer data)
gst_message_parse_error(msg, &err, &debug);
g_free(debug);
g_print("Error: %s\n", err->message);
g_print("Send error back to main program\n");
g_print("%s\n", err->message);
g_error_free(err);
g_main_loop_quit(loop);