From d86e34a41e7d9db5bfafaffdafdd5016797d17de Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Mon, 9 Mar 2015 19:11:44 +0000 Subject: [PATCH] Revert "mpeg2dec: Use propose unref method for buffer" This reverts commit 63b43d3bee832aec353d02575da543f3c73f6893. --- ext/mpeg2dec/gstmpeg2dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);