diff --git a/gst/audioparsers/gstaacparse.c b/gst/audioparsers/gstaacparse.c index 4f6bdd694f..0c62aa4b7d 100644 --- a/gst/audioparsers/gstaacparse.c +++ b/gst/audioparsers/gstaacparse.c @@ -743,7 +743,7 @@ gst_aac_parse_sink_getcaps (GstBaseParse * parse) gst_caps_unref (peercaps); } else { res = - gst_caps_copy (gst_pad_get_pad_template_caps (GST_BASE_PARSE_SRC_PAD + gst_caps_copy (gst_pad_get_pad_template_caps (GST_BASE_PARSE_SINK_PAD (parse))); } diff --git a/gst/audioparsers/gstac3parse.c b/gst/audioparsers/gstac3parse.c index d7354eb1df..b9335f0899 100644 --- a/gst/audioparsers/gstac3parse.c +++ b/gst/audioparsers/gstac3parse.c @@ -692,7 +692,7 @@ gst_ac3_parse_get_sink_caps (GstBaseParse * parse) gst_caps_unref (peercaps); } else { res = - gst_caps_copy (gst_pad_get_pad_template_caps (GST_BASE_PARSE_SRC_PAD + gst_caps_copy (gst_pad_get_pad_template_caps (GST_BASE_PARSE_SINK_PAD (parse))); } diff --git a/gst/audioparsers/gstamrparse.c b/gst/audioparsers/gstamrparse.c index 90a65c4687..ddeac18007 100644 --- a/gst/audioparsers/gstamrparse.c +++ b/gst/audioparsers/gstamrparse.c @@ -424,7 +424,7 @@ gst_amr_parse_sink_getcaps (GstBaseParse * parse) gst_caps_unref (peercaps); } else { res = - gst_caps_copy (gst_pad_get_pad_template_caps (GST_BASE_PARSE_SRC_PAD + gst_caps_copy (gst_pad_get_pad_template_caps (GST_BASE_PARSE_SINK_PAD (parse))); } diff --git a/gst/audioparsers/gstdcaparse.c b/gst/audioparsers/gstdcaparse.c index 14d313d534..64aef4ca6e 100644 --- a/gst/audioparsers/gstdcaparse.c +++ b/gst/audioparsers/gstdcaparse.c @@ -479,7 +479,7 @@ gst_dca_parse_get_sink_caps (GstBaseParse * parse) gst_caps_unref (peercaps); } else { res = - gst_caps_copy (gst_pad_get_pad_template_caps (GST_BASE_PARSE_SRC_PAD + gst_caps_copy (gst_pad_get_pad_template_caps (GST_BASE_PARSE_SINK_PAD (parse))); } diff --git a/gst/audioparsers/gstflacparse.c b/gst/audioparsers/gstflacparse.c index 36db7c1700..dcfa3e89fe 100644 --- a/gst/audioparsers/gstflacparse.c +++ b/gst/audioparsers/gstflacparse.c @@ -1455,7 +1455,7 @@ gst_flac_parse_get_sink_caps (GstBaseParse * parse) gst_caps_unref (peercaps); } else { res = - gst_caps_copy (gst_pad_get_pad_template_caps (GST_BASE_PARSE_SRC_PAD + gst_caps_copy (gst_pad_get_pad_template_caps (GST_BASE_PARSE_SINK_PAD (parse))); } diff --git a/gst/audioparsers/gstmpegaudioparse.c b/gst/audioparsers/gstmpegaudioparse.c index 25e373ccbc..f910c96b81 100644 --- a/gst/audioparsers/gstmpegaudioparse.c +++ b/gst/audioparsers/gstmpegaudioparse.c @@ -1299,7 +1299,7 @@ gst_mpeg_audio_parse_get_sink_caps (GstBaseParse * parse) gst_caps_unref (peercaps); } else { res = - gst_caps_copy (gst_pad_get_pad_template_caps (GST_BASE_PARSE_SRC_PAD + gst_caps_copy (gst_pad_get_pad_template_caps (GST_BASE_PARSE_SINK_PAD (parse))); }