[0.11] gst-plugins-good: audioparsers: intersect downstream allowed peer caps with sink pad template
Mark Nauwelaerts
mnauw at kemper.freedesktop.org
Thu Mar 22 11:00:07 PDT 2012
Module: gst-plugins-good
Branch: 0.11
Commit: 2de5d0d52f06f271d752b8656e32b16289b426fb
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=2de5d0d52f06f271d752b8656e32b16289b426fb
Author: Mark Nauwelaerts <mark.nauwelaerts at collabora.co.uk>
Date: Thu Mar 22 16:10:33 2012 +0100
audioparsers: intersect downstream allowed peer caps with sink pad template
---
gst/audioparsers/gstaacparse.c | 2 +-
gst/audioparsers/gstac3parse.c | 2 +-
gst/audioparsers/gstamrparse.c | 2 +-
gst/audioparsers/gstdcaparse.c | 2 +-
gst/audioparsers/gstflacparse.c | 2 +-
gst/audioparsers/gstmpegaudioparse.c | 2 +-
gst/audioparsers/gstwavpackparse.c | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/gst/audioparsers/gstaacparse.c b/gst/audioparsers/gstaacparse.c
index f1e4de2..57f5aff 100644
--- a/gst/audioparsers/gstaacparse.c
+++ b/gst/audioparsers/gstaacparse.c
@@ -1118,7 +1118,7 @@ gst_aac_parse_sink_getcaps (GstBaseParse * parse)
res =
gst_caps_intersect_full (peercaps,
- gst_pad_get_pad_template_caps (GST_BASE_PARSE_SRC_PAD (parse)),
+ gst_pad_get_pad_template_caps (GST_BASE_PARSE_SINK_PAD (parse)),
GST_CAPS_INTERSECT_FIRST);
gst_caps_unref (peercaps);
} else {
diff --git a/gst/audioparsers/gstac3parse.c b/gst/audioparsers/gstac3parse.c
index 6fa4658..0777ee2 100644
--- a/gst/audioparsers/gstac3parse.c
+++ b/gst/audioparsers/gstac3parse.c
@@ -688,7 +688,7 @@ gst_ac3_parse_get_sink_caps (GstBaseParse * parse)
res =
gst_caps_intersect_full (peercaps,
- gst_pad_get_pad_template_caps (GST_BASE_PARSE_SRC_PAD (parse)),
+ gst_pad_get_pad_template_caps (GST_BASE_PARSE_SINK_PAD (parse)),
GST_CAPS_INTERSECT_FIRST);
gst_caps_unref (peercaps);
} else {
diff --git a/gst/audioparsers/gstamrparse.c b/gst/audioparsers/gstamrparse.c
index 8f6ef94..128efa1 100644
--- a/gst/audioparsers/gstamrparse.c
+++ b/gst/audioparsers/gstamrparse.c
@@ -418,7 +418,7 @@ gst_amr_parse_sink_getcaps (GstBaseParse * parse)
res =
gst_caps_intersect_full (peercaps,
- gst_pad_get_pad_template_caps (GST_BASE_PARSE_SRC_PAD (parse)),
+ gst_pad_get_pad_template_caps (GST_BASE_PARSE_SINK_PAD (parse)),
GST_CAPS_INTERSECT_FIRST);
gst_caps_unref (peercaps);
} else {
diff --git a/gst/audioparsers/gstdcaparse.c b/gst/audioparsers/gstdcaparse.c
index c34d83e..641bd4d 100644
--- a/gst/audioparsers/gstdcaparse.c
+++ b/gst/audioparsers/gstdcaparse.c
@@ -473,7 +473,7 @@ gst_dca_parse_get_sink_caps (GstBaseParse * parse)
res =
gst_caps_intersect_full (peercaps,
- gst_pad_get_pad_template_caps (GST_BASE_PARSE_SRC_PAD (parse)),
+ gst_pad_get_pad_template_caps (GST_BASE_PARSE_SINK_PAD (parse)),
GST_CAPS_INTERSECT_FIRST);
gst_caps_unref (peercaps);
} else {
diff --git a/gst/audioparsers/gstflacparse.c b/gst/audioparsers/gstflacparse.c
index ed4e733..b331f66 100644
--- a/gst/audioparsers/gstflacparse.c
+++ b/gst/audioparsers/gstflacparse.c
@@ -1474,7 +1474,7 @@ gst_flac_parse_get_sink_caps (GstBaseParse * parse)
res =
gst_caps_intersect_full (peercaps,
- gst_pad_get_pad_template_caps (GST_BASE_PARSE_SRC_PAD (parse)),
+ gst_pad_get_pad_template_caps (GST_BASE_PARSE_SINK_PAD (parse)),
GST_CAPS_INTERSECT_FIRST);
gst_caps_unref (peercaps);
} else {
diff --git a/gst/audioparsers/gstmpegaudioparse.c b/gst/audioparsers/gstmpegaudioparse.c
index 0fd7ccc..43c330c 100644
--- a/gst/audioparsers/gstmpegaudioparse.c
+++ b/gst/audioparsers/gstmpegaudioparse.c
@@ -1430,7 +1430,7 @@ gst_mpeg_audio_parse_get_sink_caps (GstBaseParse * parse)
res =
gst_caps_intersect_full (peercaps,
- gst_pad_get_pad_template_caps (GST_BASE_PARSE_SRC_PAD (parse)),
+ gst_pad_get_pad_template_caps (GST_BASE_PARSE_SINK_PAD (parse)),
GST_CAPS_INTERSECT_FIRST);
gst_caps_unref (peercaps);
} else {
diff --git a/gst/audioparsers/gstwavpackparse.c b/gst/audioparsers/gstwavpackparse.c
index 41e73a6..18c2fc2 100644
--- a/gst/audioparsers/gstwavpackparse.c
+++ b/gst/audioparsers/gstwavpackparse.c
@@ -635,7 +635,7 @@ gst_wavpack_parse_get_sink_caps (GstBaseParse * parse)
res =
gst_caps_intersect_full (peercaps,
- gst_pad_get_pad_template_caps (GST_BASE_PARSE_SRC_PAD (parse)),
+ gst_pad_get_pad_template_caps (GST_BASE_PARSE_SINK_PAD (parse)),
GST_CAPS_INTERSECT_FIRST);
gst_caps_unref (peercaps);
} else {
More information about the gstreamer-commits
mailing list