Skip to content

Commit

Permalink
Merge branch 'hotfix/fix-ipc-stop'
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelgruner committed Sep 28, 2020
2 parents fd9af19 + 0cfd701 commit 0155675
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dnl required version of autoconf
AC_PREREQ([2.53])

dnl Gstreamer's daemon package name and version
AC_INIT([gstd],[0.11.1])
AC_INIT([gstd],[0.11.2])

dnl required version of gstreamer and gst-plugins-base
GST_REQUIRED=1.0.0
Expand Down
8 changes: 5 additions & 3 deletions gstd/gstd.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,10 @@ ipc_stop (GstdIpc * ipc[], guint num_ipcs)

/* Run stop for each IPC */
for (i = 0; i < num_ipcs; i++) {
gstd_ipc_stop (ipc[i]);
g_object_unref (ipc[i]);
if (TRUE == ipc[i]->enabled) {
gstd_ipc_stop (ipc[i]);
g_object_unref (ipc[i]);
}
}
}

Expand Down Expand Up @@ -233,7 +235,7 @@ main (gint argc, gchar * argv[])
}
}

gstd_debug_init();
gstd_debug_init ();

if (kill) {
if (gstd_daemon_stop ()) {
Expand Down

0 comments on commit 0155675

Please sign in to comment.