From 7cd75b0ae04eb8a79c9bb2754f5ceb3b0015f25d Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 19 Aug 2003 04:18:19 +0000 Subject: [PATCH] convert pad templates to GST_CAPS_ANY Original commit message from CVS: convert pad templates to GST_CAPS_ANY --- gst/elements/gstaggregator.c | 2 +- gst/elements/gstfakesink.c | 2 +- gst/elements/gstfakesrc.c | 2 +- gst/elements/gstmd5sink.c | 2 +- gst/elements/gstshaper.c | 4 ++-- gst/elements/gsttee.c | 2 +- plugins/elements/gstaggregator.c | 2 +- plugins/elements/gstfakesink.c | 2 +- plugins/elements/gstfakesrc.c | 2 +- plugins/elements/gstmd5sink.c | 2 +- plugins/elements/gstshaper.c | 4 ++-- plugins/elements/gsttee.c | 2 +- 12 files changed, 14 insertions(+), 14 deletions(-) diff --git a/gst/elements/gstaggregator.c b/gst/elements/gstaggregator.c index 1f13b87..0ac2bd9 100644 --- a/gst/elements/gstaggregator.c +++ b/gst/elements/gstaggregator.c @@ -58,7 +58,7 @@ GST_PAD_TEMPLATE_FACTORY (aggregator_src_factory, "sink%d", GST_PAD_SINK, GST_PAD_REQUEST, - NULL /* no caps */ + GST_CAPS_ANY ); #define GST_TYPE_AGGREGATOR_SCHED (gst_aggregator_sched_get_type()) diff --git a/gst/elements/gstfakesink.c b/gst/elements/gstfakesink.c index dbfe94a..0050939 100644 --- a/gst/elements/gstfakesink.c +++ b/gst/elements/gstfakesink.c @@ -63,7 +63,7 @@ GST_PAD_TEMPLATE_FACTORY (fakesink_sink_factory, "sink%d", GST_PAD_SINK, GST_PAD_REQUEST, - NULL /* no caps */ + GST_CAPS_ANY ); #define GST_TYPE_FAKESINK_STATE_ERROR (gst_fakesink_state_error_get_type()) diff --git a/gst/elements/gstfakesrc.c b/gst/elements/gstfakesrc.c index 525bde1..9d088be 100644 --- a/gst/elements/gstfakesrc.c +++ b/gst/elements/gstfakesrc.c @@ -80,7 +80,7 @@ GST_PAD_TEMPLATE_FACTORY (fakesrc_src_factory, "src%d", GST_PAD_SRC, GST_PAD_REQUEST, - NULL /* no caps */ + GST_CAPS_ANY ); #define GST_TYPE_FAKESRC_OUTPUT (gst_fakesrc_output_get_type()) diff --git a/gst/elements/gstmd5sink.c b/gst/elements/gstmd5sink.c index 15dc9d1..e578150 100644 --- a/gst/elements/gstmd5sink.c +++ b/gst/elements/gstmd5sink.c @@ -51,7 +51,7 @@ GST_PAD_TEMPLATE_FACTORY (md5_sink_factory, "sink", GST_PAD_SINK, GST_PAD_ALWAYS, - NULL /* no caps */ + GST_CAPS_ANY ); /* GObject stuff */ diff --git a/gst/elements/gstshaper.c b/gst/elements/gstshaper.c index cf981c8..7d163e2 100644 --- a/gst/elements/gstshaper.c +++ b/gst/elements/gstshaper.c @@ -67,14 +67,14 @@ GST_PAD_TEMPLATE_FACTORY (shaper_src_factory, "src%d", GST_PAD_SRC, GST_PAD_SOMETIMES, - NULL /* no caps */ + GST_CAPS_ANY ); GST_PAD_TEMPLATE_FACTORY (shaper_sink_factory, "sink%d", GST_PAD_SINK, GST_PAD_REQUEST, - NULL /* no caps */ + GST_CAPS_ANY ); #define GST_TYPE_SHAPER_POLICY (gst_shaper_policy_get_type()) diff --git a/gst/elements/gsttee.c b/gst/elements/gsttee.c index 2d9f4b1..f29a258 100644 --- a/gst/elements/gsttee.c +++ b/gst/elements/gsttee.c @@ -58,7 +58,7 @@ GST_PAD_TEMPLATE_FACTORY (tee_src_factory, "src%d", GST_PAD_SRC, GST_PAD_REQUEST, - NULL /* no caps */ + GST_CAPS_ANY ); static void gst_tee_class_init (GstTeeClass *klass); diff --git a/plugins/elements/gstaggregator.c b/plugins/elements/gstaggregator.c index 1f13b87..0ac2bd9 100644 --- a/plugins/elements/gstaggregator.c +++ b/plugins/elements/gstaggregator.c @@ -58,7 +58,7 @@ GST_PAD_TEMPLATE_FACTORY (aggregator_src_factory, "sink%d", GST_PAD_SINK, GST_PAD_REQUEST, - NULL /* no caps */ + GST_CAPS_ANY ); #define GST_TYPE_AGGREGATOR_SCHED (gst_aggregator_sched_get_type()) diff --git a/plugins/elements/gstfakesink.c b/plugins/elements/gstfakesink.c index dbfe94a..0050939 100644 --- a/plugins/elements/gstfakesink.c +++ b/plugins/elements/gstfakesink.c @@ -63,7 +63,7 @@ GST_PAD_TEMPLATE_FACTORY (fakesink_sink_factory, "sink%d", GST_PAD_SINK, GST_PAD_REQUEST, - NULL /* no caps */ + GST_CAPS_ANY ); #define GST_TYPE_FAKESINK_STATE_ERROR (gst_fakesink_state_error_get_type()) diff --git a/plugins/elements/gstfakesrc.c b/plugins/elements/gstfakesrc.c index 525bde1..9d088be 100644 --- a/plugins/elements/gstfakesrc.c +++ b/plugins/elements/gstfakesrc.c @@ -80,7 +80,7 @@ GST_PAD_TEMPLATE_FACTORY (fakesrc_src_factory, "src%d", GST_PAD_SRC, GST_PAD_REQUEST, - NULL /* no caps */ + GST_CAPS_ANY ); #define GST_TYPE_FAKESRC_OUTPUT (gst_fakesrc_output_get_type()) diff --git a/plugins/elements/gstmd5sink.c b/plugins/elements/gstmd5sink.c index 15dc9d1..e578150 100644 --- a/plugins/elements/gstmd5sink.c +++ b/plugins/elements/gstmd5sink.c @@ -51,7 +51,7 @@ GST_PAD_TEMPLATE_FACTORY (md5_sink_factory, "sink", GST_PAD_SINK, GST_PAD_ALWAYS, - NULL /* no caps */ + GST_CAPS_ANY ); /* GObject stuff */ diff --git a/plugins/elements/gstshaper.c b/plugins/elements/gstshaper.c index cf981c8..7d163e2 100644 --- a/plugins/elements/gstshaper.c +++ b/plugins/elements/gstshaper.c @@ -67,14 +67,14 @@ GST_PAD_TEMPLATE_FACTORY (shaper_src_factory, "src%d", GST_PAD_SRC, GST_PAD_SOMETIMES, - NULL /* no caps */ + GST_CAPS_ANY ); GST_PAD_TEMPLATE_FACTORY (shaper_sink_factory, "sink%d", GST_PAD_SINK, GST_PAD_REQUEST, - NULL /* no caps */ + GST_CAPS_ANY ); #define GST_TYPE_SHAPER_POLICY (gst_shaper_policy_get_type()) diff --git a/plugins/elements/gsttee.c b/plugins/elements/gsttee.c index 2d9f4b1..f29a258 100644 --- a/plugins/elements/gsttee.c +++ b/plugins/elements/gsttee.c @@ -58,7 +58,7 @@ GST_PAD_TEMPLATE_FACTORY (tee_src_factory, "src%d", GST_PAD_SRC, GST_PAD_REQUEST, - NULL /* no caps */ + GST_CAPS_ANY ); static void gst_tee_class_init (GstTeeClass *klass); -- 2.7.4