mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-03 17:22:29 +00:00
set sate of pipeline to NULL prior to exit
This commit is contained in:
parent
fa60c9cb9d
commit
496c654728
1 changed files with 3 additions and 1 deletions
|
@ -427,8 +427,10 @@ void
|
|||
app_dispose (App * app)
|
||||
{
|
||||
if (app) {
|
||||
if (app->pipeline)
|
||||
if (app->pipeline) {
|
||||
gst_element_set_state (GST_ELEMENT (app->pipeline), GST_STATE_NULL);
|
||||
gst_object_unref (app->pipeline);
|
||||
}
|
||||
|
||||
g_free (app);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue