summaryrefslogtreecommitdiff
path: root/network
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
commitf132da65a7b5eeee15afa6824aa8a5c73a14eb6a (patch)
tree7c9f7b6dfd031e68bb21aa4eaa5c0581a4702f66 /network
parent1cbacffb52da51d9e7f7e62596952621b02474db (diff)
network/http-launch: Add EOS handling
Just quit on EOS for now
Diffstat (limited to 'network')
-rw-r--r--network/http-launch/http-launch.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/network/http-launch/http-launch.c b/network/http-launch/http-launch.c
index 07fbbca..fd104fd 100644
--- a/network/http-launch/http-launch.c
+++ b/network/http-launch/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;