From 86d79021cfd0ff1a9a7b9b763a88092b7e7d6c8b Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 22 Apr 2004 03:52:52 +0000 Subject: s/gst_caps_simplify/gst_caps_do_simplify/ Original commit message from CVS: * ext/hermes/gsthermescolorspace.c: (gst_hermes_colorspace_caps_remove_format_info): * gst/colorspace/gstcolorspace.c: (gst_colorspace_caps_remove_format_info): * gst/ffmpegcolorspace/gstffmpegcolorspace.c: (gst_ffmpegcolorspace_caps_remove_format_info): s/gst_caps_simplify/gst_caps_do_simplify/ --- ext/hermes/gsthermescolorspace.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ext') diff --git a/ext/hermes/gsthermescolorspace.c b/ext/hermes/gsthermescolorspace.c index 78c7ec1c..732c7908 100644 --- a/ext/hermes/gsthermescolorspace.c +++ b/ext/hermes/gsthermescolorspace.c @@ -307,7 +307,6 @@ gst_hermes_colorspace_caps_remove_format_info (GstCaps * caps) { int i; GstStructure *structure; - GstCaps *rgbcaps; for (i = 0; i < gst_caps_get_size (caps); i++) { structure = gst_caps_get_structure (caps, i); @@ -321,10 +320,9 @@ gst_hermes_colorspace_caps_remove_format_info (GstCaps * caps) gst_structure_remove_field (structure, "blue_mask"); } - rgbcaps = gst_caps_simplify (caps); - gst_caps_free (caps); + gst_caps_do_simplify (caps); - return rgbcaps; + return caps; } static void -- cgit v1.2.1