summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2015-03-09 19:11:44 +0000
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2015-03-09 19:11:44 +0000
commitd86e34a41e7d9db5bfafaffdafdd5016797d17de (patch)
tree337dd90b01fad1f0dfed394b28768291edf53a22
parent63b43d3bee832aec353d02575da543f3c73f6893 (diff)
Revert "mpeg2dec: Use propose unref method for buffer"
-rw-r--r--ext/mpeg2dec/gstmpeg2dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mpeg2dec/gstmpeg2dec.c b/ext/mpeg2dec/gstmpeg2dec.c
index 4f9f9b67..42549eb6 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);