ext/faad/gstfaad.c: Don't unref the buffer when it was clipped.
authorWim Taymans <wim.taymans@gmail.com>
Wed, 22 Aug 2007 15:32:04 +0000 (15:32 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Wed, 22 Aug 2007 15:32:04 +0000 (15:32 +0000)
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_chain):
Don't unref the buffer when it was clipped.

ChangeLog
ext/faad/gstfaad.c

index e45aa19..45aceb6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-08-22  Wim Taymans  <wim.taymans@gmail.com>
+
+       * ext/faad/gstfaad.c: (gst_faad_chain):
+       Don't unref the buffer when it was clipped.
+
 2007-08-22  Julien MOUTTE  <julien@moutte.net>
 
        * gst/flv/gstflvdemux.c: (gst_flv_demux_cleanup),
index fa2f003..7e719ec 100644 (file)
@@ -1352,8 +1352,7 @@ gst_faad_chain (GstPad * pad, GstBuffer * buffer)
           ret = gst_pad_push (faad->srcpad, outbuf);
           if (ret != GST_FLOW_OK)
             goto out;
-        } else
-          gst_buffer_unref (outbuf);
+        }
       }
     }
   }