mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
set pipeline to ready on EOS
This commit is contained in:
parent
f11057246c
commit
b05e5534df
1 changed files with 1 additions and 0 deletions
|
@ -768,6 +768,7 @@ bus_message_cb (GstBus * bus, GstMessage * message, App * app)
|
|||
g_print ("ERROR\n");
|
||||
break;
|
||||
case GST_MESSAGE_EOS:
|
||||
gst_element_set_state (GST_ELEMENT (app->pipeline), GST_STATE_READY);
|
||||
break;
|
||||
case GST_MESSAGE_STATE_CHANGED:
|
||||
if (s && GST_MESSAGE_SRC (message) == GST_OBJECT_CAST (app->pipeline)) {
|
||||
|
|
Loading…
Reference in a new issue