mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
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/
This commit is contained in:
parent
294a7f0fc9
commit
86d79021cf
3 changed files with 14 additions and 9 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2004-04-22 Benjamin Otte <otte@gnome.org>
|
||||||
|
|
||||||
|
* 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/
|
||||||
|
|
||||||
2004-04-22 Benjamin Otte <otte@gnome.org>
|
2004-04-22 Benjamin Otte <otte@gnome.org>
|
||||||
|
|
||||||
* gst-libs/gst/riff/riff-media.c:
|
* gst-libs/gst/riff/riff-media.c:
|
||||||
|
|
|
@ -307,7 +307,6 @@ gst_hermes_colorspace_caps_remove_format_info (GstCaps * caps)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
GstStructure *structure;
|
GstStructure *structure;
|
||||||
GstCaps *rgbcaps;
|
|
||||||
|
|
||||||
for (i = 0; i < gst_caps_get_size (caps); i++) {
|
for (i = 0; i < gst_caps_get_size (caps); i++) {
|
||||||
structure = gst_caps_get_structure (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");
|
gst_structure_remove_field (structure, "blue_mask");
|
||||||
}
|
}
|
||||||
|
|
||||||
rgbcaps = gst_caps_simplify (caps);
|
gst_caps_do_simplify (caps);
|
||||||
gst_caps_free (caps);
|
|
||||||
|
|
||||||
return rgbcaps;
|
return caps;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -263,7 +263,6 @@ gst_colorspace_caps_remove_format_info (GstCaps * caps, const char *media_type)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
GstStructure *structure;
|
GstStructure *structure;
|
||||||
GstCaps *rgbcaps;
|
|
||||||
|
|
||||||
for (i = 0; i < gst_caps_get_size (caps); i++) {
|
for (i = 0; i < gst_caps_get_size (caps); i++) {
|
||||||
structure = gst_caps_get_structure (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");
|
gst_structure_remove_field (structure, "blue_mask");
|
||||||
}
|
}
|
||||||
|
|
||||||
rgbcaps = gst_caps_simplify (caps);
|
gst_caps_do_simplify (caps);
|
||||||
gst_caps_free (caps);
|
return caps;
|
||||||
|
|
||||||
return rgbcaps;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstCaps *
|
static GstCaps *
|
||||||
|
|
Loading…
Reference in a new issue