diff options
author | Reuben Dowle <reube.dowle@navico.com> | 2010-03-17 19:24:27 -0300 |
---|---|---|
committer | Thiago Santos <thiago.sousa.santos@collabora.co.uk> | 2010-03-17 19:24:27 -0300 |
commit | 621705f475bc93695e5a2105eb4aee5296bfe015 (patch) | |
tree | c10b1933f4e5650a6616e41e3571edbf6aac4cab | |
parent | 433f18db8e1ac168a26387ce52e6000477c2ba10 (diff) |
ximagesink: Fix caps leak
Unref caps when peer doesn't accept caps
Fixes #613198
-rw-r--r-- | sys/ximage/ximagesink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c index 629ba6373..0d6a6c868 100644 --- a/sys/ximage/ximagesink.c +++ b/sys/ximage/ximagesink.c @@ -1864,6 +1864,7 @@ gst_ximagesink_buffer_alloc (GstBaseSink * bsink, guint64 offset, guint size, desired_caps); /* we alloc a buffer with the original incomming caps already in the * width and height variables */ + gst_caps_unref (desired_caps); } } |