diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2005-09-09 17:56:43 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@mad.scientist.com> | 2005-09-09 17:56:43 +0000 |
commit | 1436139a8c7077f979bc1aab77e7e3df7ec45a41 (patch) | |
tree | 8baa27ce04aeda5d535789fda0302061f835c04a /gst/level/gstlevel.c | |
parent | e30601f40007a52d93879efc9143b0d97086a550 (diff) |
Move fdsrc back into gstreamer core elements.
Original commit message from CVS:
* configure.ac:
* gst/fdsrc/Makefile.am:
* gst/fdsrc/gstfdsrc.c:
* gst/fdsrc/gstfdsrc.h:
Move fdsrc back into gstreamer core elements.
* gst/level/gstlevel.c: (gst_level_class_init),
(gst_level_transform_ip):
* gst/videobox/gstvideobox.c: (gst_video_box_set_property):
Basetransform changes.
Diffstat (limited to 'gst/level/gstlevel.c')
-rw-r--r-- | gst/level/gstlevel.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gst/level/gstlevel.c b/gst/level/gstlevel.c index 8f1210f1..e3dabd8a 100644 --- a/gst/level/gstlevel.c +++ b/gst/level/gstlevel.c @@ -74,7 +74,6 @@ enum GST_BOILERPLATE (GstLevel, gst_level, GstBaseTransform, GST_TYPE_BASE_TRANSFORM); - static void gst_level_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec); static void gst_level_get_property (GObject * object, guint prop_id, @@ -82,8 +81,8 @@ static void gst_level_get_property (GObject * object, guint prop_id, static gboolean gst_level_set_caps (GstBaseTransform * trans, GstCaps * in, GstCaps * out); -static GstFlowReturn gst_level_transform (GstBaseTransform * trans, - GstBuffer * in, GstBuffer * out); +static GstFlowReturn gst_level_transform_ip (GstBaseTransform * trans, + GstBuffer * in); static void @@ -129,7 +128,8 @@ gst_level_class_init (GstLevelClass * klass) GST_DEBUG_CATEGORY_INIT (level_debug, "level", 0, "Level calculation"); trans_class->set_caps = gst_level_set_caps; - trans_class->transform = gst_level_transform; + trans_class->transform_ip = gst_level_transform_ip; + trans_class->passthrough_on_same_caps = TRUE; } static void @@ -331,7 +331,7 @@ gst_level_message_append_channel (GstMessage * m, gdouble rms, gdouble peak, } static GstFlowReturn -gst_level_transform (GstBaseTransform * trans, GstBuffer * in, GstBuffer * out) +gst_level_transform_ip (GstBaseTransform * trans, GstBuffer * in) { GstLevel *filter; gpointer in_data; |