summaryrefslogtreecommitdiff
path: root/gst-libs/gst/video/gstvideoutils.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-05-01 15:35:47 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-05-01 16:58:48 +0200
commit34bfcb2af95d7b25cb8671247e17777da69dca3b (patch)
tree00d6c8c5aec766a100299cc6a5a1b57c96276721 /gst-libs/gst/video/gstvideoutils.c
parent8fde7850c0b775fa1e389579f14f7befd67bc019 (diff)
videodecoder: don't leak events
When need to push out all the previously received events, concatenate all the events from the previous frames (instead of leaking the old ones) Improve debugging a little Conflicts: gst-libs/gst/video/gstvideodecoder.c
Diffstat (limited to 'gst-libs/gst/video/gstvideoutils.c')
-rw-r--r--gst-libs/gst/video/gstvideoutils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst-libs/gst/video/gstvideoutils.c b/gst-libs/gst/video/gstvideoutils.c
index 6f12fb839..a47a6ef91 100644
--- a/gst-libs/gst/video/gstvideoutils.c
+++ b/gst-libs/gst/video/gstvideoutils.c
@@ -36,6 +36,8 @@ _gst_video_codec_frame_free (GstVideoCodecFrame * frame)
{
g_return_if_fail (frame != NULL);
+ GST_DEBUG ("free frame %p", frame);
+
if (frame->input_buffer) {
gst_buffer_unref (frame->input_buffer);
}