mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-03 15:06:34 +00:00
fix for _do_simplify changes
This commit is contained in:
parent
77299ba6ae
commit
4de592aa14
2 changed files with 2 additions and 3 deletions
|
@ -276,7 +276,7 @@ gst_cogcolorspace_caps_remove_format_info (GstCaps * caps)
|
|||
gst_structure_remove_field (structure, "chroma-site");
|
||||
}
|
||||
|
||||
gst_caps_do_simplify (caps);
|
||||
caps = gst_caps_do_simplify (caps);
|
||||
rgbcaps = gst_caps_copy (caps);
|
||||
|
||||
for (i = 0; i < gst_caps_get_size (rgbcaps); i++) {
|
||||
|
|
|
@ -172,8 +172,7 @@ colorspace_compare (gint width, gint height, gboolean comp)
|
|||
gst_caps_unref (rcaps);
|
||||
|
||||
/* normalize to finally have a list of acceptable fixed formats */
|
||||
gst_caps_do_simplify (caps);
|
||||
tcaps = caps;
|
||||
tcaps = gst_caps_do_simplify (caps);
|
||||
caps = gst_caps_normalize (tcaps);
|
||||
gst_caps_unref (tcaps);
|
||||
|
||||
|
|
Loading…
Reference in a new issue