network/http-launch: Add EOS handling
authorSebastian Dröge <slomo@circular-chaos.org>
Sun, 28 Jul 2013 11:54:58 +0000 (13:54 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Sun, 28 Jul 2013 11:54:58 +0000 (13:54 +0200)
Just quit on EOS for now

network/http-launch/http-launch.c

index 07fbbca..fd104fd 100644 (file)
@@ -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;