mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
network/http-launch: Add EOS handling
Just quit on EOS for now
This commit is contained in:
parent
1cbacffb52
commit
f132da65a7
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue