diff --git a/gst/alpha/gstalphacolor.c b/gst/alpha/gstalphacolor.c index 53cac25093..95396ec7d7 100644 --- a/gst/alpha/gstalphacolor.c +++ b/gst/alpha/gstalphacolor.c @@ -141,7 +141,7 @@ gst_alpha_color_transform_caps (GstBaseTransform * btrans, gst_caps_unref (tmpl_caps); gst_caps_unref (local_caps); - result = gst_caps_do_simplify (result); + result = gst_caps_simplify (result); GST_LOG_OBJECT (btrans, "transformed %" GST_PTR_FORMAT " to %" GST_PTR_FORMAT, caps, result); diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index 510f9da8e7..fbe4d5a35e 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -5074,7 +5074,7 @@ gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext * gst_structure_set (structure, "interlaced", G_TYPE_BOOLEAN, TRUE, NULL); } - caps = gst_caps_do_simplify (caps); + caps = gst_caps_simplify (caps); } return caps; @@ -5443,7 +5443,7 @@ gst_matroska_demux_audio_caps (GstMatroskaTrackAudioContext * } } - caps = gst_caps_do_simplify (caps); + caps = gst_caps_simplify (caps); } return caps;