[0.11] gst-plugins-ugly: x264enc: remove leaking "optimization"

Sebastian Dröge slomo at kemper.freedesktop.org
Wed Jan 25 04:03:43 PST 2012


Module: gst-plugins-ugly
Branch: 0.11
Commit: e842b584050390ac2524834acd986295a14e0aaa
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/commit/?id=e842b584050390ac2524834acd986295a14e0aaa

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Fri Jan 13 13:46:28 2012 +0000

x264enc: remove leaking "optimization"

---

 ext/x264/gstx264enc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c
index f85a94e..2be3dd3 100644
--- a/ext/x264/gstx264enc.c
+++ b/ext/x264/gstx264enc.c
@@ -431,7 +431,7 @@ gst_x264_enc_build_tunings_string (GstX264Enc * x264enc)
 {
   int i = 1;
 
-  if (x264enc->tunings && x264enc->tunings->len)
+  if (x264enc->tunings)
     g_string_free (x264enc->tunings, TRUE);
 
   if (x264enc->psy_tune) {



More information about the gstreamer-commits mailing list