Skip to content

Commit 6daf224

Browse files
committed
Fix issue #99
2 parents 8066cf0 + fb38e48 commit 6daf224

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dnl please read gstreamer/docs/random/autotools before changing this file
66
dnl initialize autoconf
77
dnl releases only do -Wall, git and prerelease does -Werror too
88
dnl use a three digit version number for releases, and four for git/pre
9-
AC_INIT([GstInterpipe],[1.1.5],
9+
AC_INIT([GstInterpipe],[1.1.6],
1010
[http://www.github.com/RidgeRun/gst-interpipe-1.0],
1111
[gst-interpipe],
1212
[http://developer.ridgerun.com/wiki/index.php?title=GstInterpipe])

gst/interpipe/gstinterpipesrc.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,11 @@ gst_inter_pipe_src_set_property (GObject * object, guint prop_id,
260260
switch (prop_id) {
261261
case PROP_LISTEN_TO:
262262
node_name = g_strdup (g_value_get_string (value));
263-
if (node_name != NULL) {
263+
if (!g_strcmp0 (src->listen_to, node_name)) {
264+
/* We are already listening to that node, so nothing to do */
265+
GST_INFO ("Already listening to node %s", node_name);
266+
g_free (node_name);
267+
} else if (node_name != NULL) {
264268
if (GST_BASE_SRC_IS_STARTED (GST_BASE_SRC (src))) {
265269
/* valid node_name, BaseSrc started */
266270
if (!gst_inter_pipe_src_listen_node (src, node_name)) {

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
project('gst-interpipes', 'c',
2-
version : '1.1.5',
2+
version : '1.1.6',
33
meson_version : '>= 0.50',)
44

55
gst_interpipes_version = meson.project_version()

0 commit comments

Comments
 (0)