gst/base/gstbasetransform.c (gst_base_transform_setcaps): Default to returning TRUE...
authorAndy Wingo <wingo@pobox.com>
Tue, 5 Jul 2005 09:35:22 +0000 (09:35 +0000)
committerAndy Wingo <wingo@pobox.com>
Tue, 5 Jul 2005 09:35:22 +0000 (09:35 +0000)
Original commit message from CVS:
2005-07-05  Andy Wingo  <wingo@pobox.com>

* 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
gst/base/gstbasetransform.c
libs/gst/base/gstbasetransform.c

index 257f6f6..ed4091c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2005-07-05  Andy Wingo  <wingo@pobox.com>
 
+       * 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
index 8f5cdee..ed658a8 100644 (file)
@@ -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);
index 8f5cdee..ed658a8 100644 (file)
@@ -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);