diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2013-07-28 13:54:58 +0200 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2013-07-28 13:54:58 +0200 |
commit | f132da65a7b5eeee15afa6824aa8a5c73a14eb6a (patch) | |
tree | 7c9f7b6dfd031e68bb21aa4eaa5c0581a4702f66 /network | |
parent | 1cbacffb52da51d9e7f7e62596952621b02474db (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.c | 5 |
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; |