Begin adding audio project stuff
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user