summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2003-10-05 16:50:02 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2003-10-05 16:50:02 +0000
commit748d8449b659b098ca5eaa331b3c49a424948b6f (patch)
tree38b9917800237b71f07253d6c10e5ba5b8f9a485
parent0910dad24ce919141de63139153febeeed5d375b (diff)
downloadgstreamer-plugins-base-748d8449b659b098ca5eaa331b3c49a424948b6f.tar.gz
fixes #123516
Original commit message from CVS: fixes #123516
-rw-r--r--gst/adder/gstadder.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/adder/gstadder.c b/gst/adder/gstadder.c
index 97e84da72..77c33fb68 100644
--- a/gst/adder/gstadder.c
+++ b/gst/adder/gstadder.c
@@ -572,7 +572,8 @@ gst_adder_change_state (GstElement *element)
break;
case GST_STATE_PLAYING_TO_PAUSED:
if (adder->bufpool) {
- gst_buffer_pool_unref (adder->bufpool);
+ /* since we never ref it, unreffing is a mistake. This needs fixing */
+ /* gst_buffer_pool_unref (adder->bufpool); */
adder->bufpool = NULL;
}
break;