summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2013-07-28 13:54:58 +0200
committerSebastian Dröge <slomo@circular-chaos.org>2013-07-28 13:54:58 +0200
commit43f0ac397e3c32756fd83f6ad88f08fad01bdbdb (patch)
tree4a96f3f0ffc6a7e001bd3694cdf6800312563beb
parent54e36b9c3e6a05a4399295941c97f6d5ab685ff8 (diff)
Add EOS handling
Just quit on EOS for now
-rw-r--r--http-launch/src/http-launch.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/http-launch/src/http-launch.c b/http-launch/src/http-launch.c
index 07fbbca..fd104fd 100644
--- a/http-launch/src/http-launch.c
+++ b/http-launch/src/http-launch.c
@@ -275,6 +275,11 @@ on_message (GstBus * bus, GstMessage * message, gpointer user_data)
g_print ("Warning %s\n", err->message);
g_error_free (err);
g_free (debug);
+ break;
+ }
+ case GST_MESSAGE_EOS:{
+ g_print ("EOS\n");
+ g_main_loop_quit (loop);
}
default:
break;