From fd980b9f72c6aa320dfb73523188314035f56c3d Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Tue, 5 Jul 2005 09:35:22 +0000 Subject: [PATCH] gst/base/gstbasetransform.c (gst_base_transform_setcaps): Default to returning TRUE for the case when tranform_caps r... Original commit message from CVS: 2005-07-05 Andy Wingo * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Default to returning TRUE for the case when tranform_caps returns a fixed caps, like for identity or volume. --- ChangeLog | 4 ++++ gst/base/gstbasetransform.c | 2 +- libs/gst/base/gstbasetransform.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 257f6f6..ed4091c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2005-07-05 Andy Wingo + * gst/base/gstbasetransform.c (gst_base_transform_setcaps): + Default to returning TRUE for the case when tranform_caps returns + a fixed caps, like for identity or volume. + * check/gst/gstbus.c (pound_bus_with_messages): * check/gst/gstmessage.c (START_TEST): * check/pipelines/simple_launch_lines.c (got_handoff): Application diff --git a/gst/base/gstbasetransform.c b/gst/base/gstbasetransform.c index 8f5cdee..ed658a8 100644 --- a/gst/base/gstbasetransform.c +++ b/gst/base/gstbasetransform.c @@ -236,7 +236,7 @@ gst_base_transform_setcaps (GstPad * pad, GstCaps * caps) GstBaseTransformClass *klass; GstPad *otherpad, *otherpeer; GstCaps *othercaps = NULL; - gboolean ret = FALSE; + gboolean ret = TRUE; trans = GST_BASE_TRANSFORM (GST_PAD_PARENT (pad)); klass = GST_BASE_TRANSFORM_GET_CLASS (trans); diff --git a/libs/gst/base/gstbasetransform.c b/libs/gst/base/gstbasetransform.c index 8f5cdee..ed658a8 100644 --- a/libs/gst/base/gstbasetransform.c +++ b/libs/gst/base/gstbasetransform.c @@ -236,7 +236,7 @@ gst_base_transform_setcaps (GstPad * pad, GstCaps * caps) GstBaseTransformClass *klass; GstPad *otherpad, *otherpeer; GstCaps *othercaps = NULL; - gboolean ret = FALSE; + gboolean ret = TRUE; trans = GST_BASE_TRANSFORM (GST_PAD_PARENT (pad)); klass = GST_BASE_TRANSFORM_GET_CLASS (trans); -- 2.7.4