summaryrefslogtreecommitdiff
path: root/gst/playondemand/gstplayondemand.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-11-27 20:54:42 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-11-27 20:54:42 +0000
commit15c9d99874199c62e397096273aca6a24bd33d30 (patch)
tree0be663aeaf1294d6893c49a4271f9717ddf562b1 /gst/playondemand/gstplayondemand.c
parent56d167f25ce2ca5ca75395ca25803fe766e9a4e5 (diff)
Moved clock set/get to class functions.
Original commit message from CVS: Moved clock set/get to class functions.
Diffstat (limited to 'gst/playondemand/gstplayondemand.c')
-rw-r--r--gst/playondemand/gstplayondemand.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/playondemand/gstplayondemand.c b/gst/playondemand/gstplayondemand.c
index 0e8266b29..d0c8a1f2a 100644
--- a/gst/playondemand/gstplayondemand.c
+++ b/gst/playondemand/gstplayondemand.c
@@ -269,6 +269,8 @@ play_on_demand_class_init (GstPlayOnDemandClass *klass)
gobject_class->set_property = play_on_demand_set_property;
gobject_class->get_property = play_on_demand_get_property;
+
+ gstelement_class->set_clock = play_on_demand_set_clock;
}
static void
@@ -297,7 +299,6 @@ play_on_demand_init (GstPlayOnDemand *filter)
filter->play_from_beginning = TRUE;
filter->silent = TRUE;
- GST_ELEMENT (filter)->setclockfunc = play_on_demand_set_clock;
filter->clock = NULL;
filter->last_time = 0;