From 26d74941fb152d803306e1c39099a2d603a0d1b7 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Wed, 25 Jul 2012 12:29:36 +0200 Subject: [PATCH] Revert "audioencoder: plug caps ref leak" This reverts commit 08ff5899a77337eb8cd674e6d36d267220c56d32. Was not a leak to begin with as we did not have ownership of caps. --- gst-libs/gst/audio/gstaudioencoder.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gst-libs/gst/audio/gstaudioencoder.c b/gst-libs/gst/audio/gstaudioencoder.c index e0a8967dc9..90d6dafadf 100644 --- a/gst-libs/gst/audio/gstaudioencoder.c +++ b/gst-libs/gst/audio/gstaudioencoder.c @@ -2551,7 +2551,6 @@ gst_audio_encoder_set_output_format (GstAudioEncoder * enc, GstCaps * caps) done: if (query) gst_query_unref (query); - gst_caps_unref (caps); return res;