diff --git a/ext/mpeg2dec/gstmpeg2dec.c b/ext/mpeg2dec/gstmpeg2dec.c index 4f9f9b67d5..42549eb69c 100644 --- a/ext/mpeg2dec/gstmpeg2dec.c +++ b/ext/mpeg2dec/gstmpeg2dec.c @@ -342,7 +342,7 @@ too_few_planes: gst_video_frame_unmap (&vframe); buffer_not_mapped: - gst_buffer_unref (test_buffer); + g_object_unref (test_buffer); buffer_not_acquired: gst_buffer_pool_set_active (pool, pool_was_active);