summaryrefslogtreecommitdiffstats
path: root/gst/playondemand
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
parent56d167f25ce2ca5ca75395ca25803fe766e9a4e5 (diff)
downloadgst-plugins-bad-15c9d99874199c62e397096273aca6a24bd33d30.tar.gz
gst-plugins-bad-15c9d99874199c62e397096273aca6a24bd33d30.tar.bz2
gst-plugins-bad-15c9d99874199c62e397096273aca6a24bd33d30.zip
Moved clock set/get to class functions.
Original commit message from CVS: Moved clock set/get to class functions.
Diffstat (limited to 'gst/playondemand')
-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 0e8266b2..d0c8a1f2 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;