summaryrefslogtreecommitdiffstats
path: root/ext/hermes/yuv2rgb.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-09-12 20:57:09 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-09-12 20:57:09 +0000
commit876f5f22a962f05b76fb1a211ec8a976cd552f3e (patch)
tree64000bb82bbda8b8a105b50cb294c2ba87043948 /ext/hermes/yuv2rgb.c
parentd368d1ad76a9c66031371c6aba0d89138df4063e (diff)
downloadgst-plugins-bad-876f5f22a962f05b76fb1a211ec8a976cd552f3e.tar.gz
gst-plugins-bad-876f5f22a962f05b76fb1a211ec8a976cd552f3e.tar.bz2
gst-plugins-bad-876f5f22a962f05b76fb1a211ec8a976cd552f3e.zip
Destroy state when going to READY
Original commit message from CVS: Destroy state when going to READY
Diffstat (limited to 'ext/hermes/yuv2rgb.c')
-rw-r--r--ext/hermes/yuv2rgb.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/hermes/yuv2rgb.c b/ext/hermes/yuv2rgb.c
index 55765bf5..4e98642c 100644
--- a/ext/hermes/yuv2rgb.c
+++ b/ext/hermes/yuv2rgb.c
@@ -201,6 +201,13 @@ gst_colorspace_yuv2rgb_get_converter (GstCaps *from, GstCaps *to)
return new;
}
+void
+gst_colorspace_converter_destroy (GstColorSpaceConverter *conv)
+{
+ if (conv)
+ g_free (conv);
+}
+
static void gst_colorspace_I420_to_rgb32(GstColorSpaceConverter *space, unsigned char *src, unsigned char *dest)
{
int size;