summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2004-04-22 03:52:52 +0000
committerBenjamin Otte <otte@gnome.org>2004-04-22 03:52:52 +0000
commit86d79021cfd0ff1a9a7b9b763a88092b7e7d6c8b (patch)
treef36da9dc2c8945562ac6a5c43fa4811bbb110720 /gst
parent294a7f0fc962ee72a443c5b7e3e6234e68958dab (diff)
downloadgst-plugins-bad-86d79021cfd0ff1a9a7b9b763a88092b7e7d6c8b.tar.gz
gst-plugins-bad-86d79021cfd0ff1a9a7b9b763a88092b7e7d6c8b.tar.bz2
gst-plugins-bad-86d79021cfd0ff1a9a7b9b763a88092b7e7d6c8b.zip
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/
Diffstat (limited to 'gst')
-rw-r--r--gst/colorspace/gstcolorspace.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gst/colorspace/gstcolorspace.c b/gst/colorspace/gstcolorspace.c
index 86294960..d4ef35d5 100644
--- a/gst/colorspace/gstcolorspace.c
+++ b/gst/colorspace/gstcolorspace.c
@@ -263,7 +263,6 @@ gst_colorspace_caps_remove_format_info (GstCaps * caps, const char *media_type)
{
int i;
GstStructure *structure;
- GstCaps *rgbcaps;
for (i = 0; i < gst_caps_get_size (caps); i++) {
structure = gst_caps_get_structure (caps, i);
@@ -278,10 +277,8 @@ gst_colorspace_caps_remove_format_info (GstCaps * caps, const char *media_type)
gst_structure_remove_field (structure, "blue_mask");
}
- rgbcaps = gst_caps_simplify (caps);
- gst_caps_free (caps);
-
- return rgbcaps;
+ gst_caps_do_simplify (caps);
+ return caps;
}
static GstCaps *