Commit 2248c5a3 authored by Peter Boba's avatar Peter Boba

Fix time-management tutorial sample code

Adds newline to a print statement so it doesn't overwrite the position
output. (I'd like to see the last timestamp for the position output).
parent c36c87e4
......@@ -121,7 +121,7 @@ handle_message (CustomData * data, GstMessage * msg)
data->terminate = TRUE;
break;
case GST_MESSAGE_EOS:
g_print ("End-Of-Stream reached.\n");
g_print ("\nEnd-Of-Stream reached.\n");
data->terminate = TRUE;
break;
case GST_MESSAGE_DURATION:
......
......@@ -151,7 +151,7 @@ static void handle_message (CustomData *data, GstMessage *msg) {
data->terminate = TRUE;
break;
case GST_MESSAGE_EOS:
g_print ("End-Of-Stream reached.\n");
g_print ("\nEnd-Of-Stream reached.\n");
data->terminate = TRUE;
break;
case GST_MESSAGE_DURATION:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment