From eb03b4de550ee16601012d7d0943b4b0a7df7cbf Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 12 Mar 2012 11:47:35 +0100 Subject: [PATCH] fix for caps api change --- gst/alpha/gstalphacolor.c | 2 +- gst/matroska/matroska-demux.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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;