diff --git a/ChangeLog b/ChangeLog index 2a3033d133..f6ca69c1ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-03-07 Wim Taymans + + * docs/libs/gstreamer-libs-sections.txt: + * libs/gst/base/gstbasetransform.h: + Fix #333669, Add pad accessor defines for GstBaseTransform + Fix docs for GstBaseSrc. + 2006-03-07 Wim Taymans * docs/gst/gstreamer-sections.txt: diff --git a/docs/libs/gstreamer-libs-sections.txt b/docs/libs/gstreamer-libs-sections.txt index 002cf3467d..0403cc8328 100644 --- a/docs/libs/gstreamer-libs-sections.txt +++ b/docs/libs/gstreamer-libs-sections.txt @@ -138,6 +138,7 @@ gst_base_src_set_format GST_BASE_SRC_PAD GstBaseSrcClass +GstBaseSrcPrivate GST_BASE_SRC GST_BASE_SRC_CAST GST_IS_BASE_SRC @@ -185,6 +186,8 @@ gst_base_transform_set_in_place GST_BASE_TRANSFORM_SINK_NAME GST_BASE_TRANSFORM_SRC_NAME +GST_BASE_TRANSFORM_SINK_PAD +GST_BASE_TRANSFORM_SRC_PAD GstBaseTransformClass @@ -194,6 +197,7 @@ GST_TYPE_BASE_TRANSFORM GST_BASE_TRANSFORM_CLASS GST_IS_BASE_TRANSFORM_CLASS GST_BASE_TRANSFORM_GET_CLASS +GST_BASE_TRANSFORM_CAST gst_base_transform_get_type diff --git a/libs/gst/base/gstbasetransform.h b/libs/gst/base/gstbasetransform.h index 84826f8a46..3310c20ccf 100644 --- a/libs/gst/base/gstbasetransform.h +++ b/libs/gst/base/gstbasetransform.h @@ -32,6 +32,8 @@ G_BEGIN_DECLS (G_TYPE_INSTANCE_GET_CLASS ((obj),GST_TYPE_BASE_TRANSFORM,GstBaseTransformClass)) #define GST_IS_BASE_TRANSFORM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_BASE_TRANSFORM)) #define GST_IS_BASE_TRANSFORM_CLASS(obj)(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_BASE_TRANSFORM)) +/* since 0.10.4 */ +#define GST_BASE_TRANSFORM_CAST(obj) ((GstBaseTransform *)(obj)) /** * GST_BASE_TRANSFORM_SINK_NAME: @@ -46,6 +48,26 @@ G_BEGIN_DECLS */ #define GST_BASE_TRANSFORM_SRC_NAME "src" +/** + * GST_BASE_TRANSFORM_SRC_PAD: + * @obj: base transform instance + * + * Gives the pointer to the source #GstPad object of the element. + * + * Since: 0.10.4 + */ +#define GST_BASE_TRANSFORM_SRC_PAD(obj) (GST_BASE_TRANSFORM_CAST (obj)->srcpad) + +/** + * GST_BASE_TRANSFORM_SINK_PAD: + * @obj: base transform instance + * + * Gives the pointer to the sink #GstPad object of the element. + * + * Since: 0.10.4 + */ +#define GST_BASE_TRANSFORM_SINK_PAD(obj) (GST_BASE_TRANSFORM_CAST (obj)->sinkpad) + typedef struct _GstBaseTransform GstBaseTransform; typedef struct _GstBaseTransformClass GstBaseTransformClass;