diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2003-01-12 21:31:16 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2003-01-12 21:31:16 +0000 |
commit | 801ee2866c79d89ae47d39e3956697fe26752dfe (patch) | |
tree | 0016392fa45057c8a262884151bc168cddb34421 /ext/hermes | |
parent | 18c9d19de27cb3d87e617c8362aa23bd52295110 (diff) | |
download | gst-plugins-bad-801ee2866c79d89ae47d39e3956697fe26752dfe.tar.gz gst-plugins-bad-801ee2866c79d89ae47d39e3956697fe26752dfe.tar.bz2 gst-plugins-bad-801ee2866c79d89ae47d39e3956697fe26752dfe.zip |
unref pool too
Original commit message from CVS:
unref pool too
Diffstat (limited to 'ext/hermes')
-rw-r--r-- | ext/hermes/gstcolorspace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/hermes/gstcolorspace.c b/ext/hermes/gstcolorspace.c index 484c7e3c..53b4cc8d 100644 --- a/ext/hermes/gstcolorspace.c +++ b/ext/hermes/gstcolorspace.c @@ -540,6 +540,8 @@ gst_colorspace_change_state (GstElement *element) space->pool = gst_pad_get_bufferpool (space->srcpad); break; case GST_STATE_PLAYING_TO_PAUSED: + if (space->pool) + gst_buffer_pool_unref (space->pool); space->pool = NULL; break; case GST_STATE_PAUSED_TO_READY: |