From 4bf089353be8e3f04545360fcc12773377ca17ee Mon Sep 17 00:00:00 2001 From: Ronny Jimenez Araya Date: Tue, 28 Apr 2020 11:49:15 -0600 Subject: [PATCH 1/2] Not send re-negotiation event when not needed --- gst/interpipe/gstinterpipesink.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gst/interpipe/gstinterpipesink.c b/gst/interpipe/gstinterpipesink.c index 8fbec1d..cad622b 100644 --- a/gst/interpipe/gstinterpipesink.c +++ b/gst/interpipe/gstinterpipesink.c @@ -746,8 +746,10 @@ gst_inter_pipe_sink_add_listener (GstInterPipeINode * iface, has_listeners = 0 != g_hash_table_size (listeners); - if (!sink->caps_negotiated && !has_listeners) { - if (!gst_pad_push_event (GST_INTER_PIPE_SINK_PAD (sink), + if (!sink->caps_negotiated && !has_listeners + && !gst_caps_is_equal (srccaps, sinkcaps)) { + + if (!gst_pad_push_event (GST_INTER_PIPE_SINK_PAD (sink), gst_event_new_reconfigure ())) goto reconfigure_event_error; From 0afc8b3e99b3f77b1545d2091c8cff90b5414ae0 Mon Sep 17 00:00:00 2001 From: Ronny Jimenez Araya Date: Tue, 28 Apr 2020 12:03:33 -0600 Subject: [PATCH 2/2] Update version number --- configure.ac | 2 +- gst-interpipe.doap | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7166a7f..3349cd0 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,7 @@ dnl please read gstreamer/docs/random/autotools before changing this file dnl initialize autoconf dnl releases only do -Wall, git and prerelease does -Werror too dnl use a three digit version number for releases, and four for git/pre -AC_INIT([GstInterpipe],[1.1.0], +AC_INIT([GstInterpipe],[1.1.1], [http://www.github.com/RidgeRun/gst-interpipe-1.0], [gst-interpipe], [http://developer.ridgerun.com/wiki/index.php?title=GstInterpipe]) diff --git a/gst-interpipe.doap b/gst-interpipe.doap index 8d94da3..afc7035 100644 --- a/gst-interpipe.doap +++ b/gst-interpipe.doap @@ -30,6 +30,16 @@ GstInterpipe is a plug-in with two elements which allow the communication betwee + + + 1.1.1 + master + + 2020-04-28 + + + + 1.1.0