"black", 2, 0x00, 0x00, 0x00}
};
GstElement *pipeline, *src, *filter1, *csp, *filter2, *sink;
- const GstCaps *template_caps;
+ GstCaps *template_caps;
GstBuffer *buf = NULL;
GstPad *srcpad;
GList *conversions, *l;
}
}
+ gst_caps_unref (template_caps);
+
g_list_foreach (conversions, (GFunc) rgb_conversion_free, NULL);
g_list_free (conversions);
"xRGB1555", 16, 15, 0x00007c00, 0x000003e0, 0x0000001f, 0x0000000}
};
GstElement *pipeline, *src, *filter, *sink;
- const GstCaps *template_caps;
+ GstCaps *template_caps;
GstBuffer *buf = NULL;
GstPad *srcpad;
gint p, i, e;
gst_caps_unref (caps);
}
}
+ gst_caps_unref (template_caps);
gst_object_unref (pipeline);
}