Unref frame->sink_buffer in gst_base_video_encoder_finish_frame
authorAlessandro Decina <alessandro.d@gmail.com>
Thu, 1 Oct 2009 13:50:55 +0000 (15:50 +0200)
committerAlessandro Decina <alessandro.d@gmail.com>
Fri, 2 Oct 2009 10:14:06 +0000 (12:14 +0200)
gst-libs/gst/video/gstbasevideoencoder.c

index bd644a6..8db7957 100644 (file)
@@ -486,6 +486,7 @@ gst_base_video_encoder_finish_frame (GstBaseVideoEncoder * base_video_encoder,
         frame->src_buffer);
   }
 
         frame->src_buffer);
   }
 
+  gst_buffer_unref (frame->sink_buffer);
   g_free (frame);
 
   return ret;
   g_free (frame);
 
   return ret;