diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2002-11-27 20:54:42 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2002-11-27 20:54:42 +0000 |
commit | 15c9d99874199c62e397096273aca6a24bd33d30 (patch) | |
tree | 0be663aeaf1294d6893c49a4271f9717ddf562b1 /gst | |
parent | 56d167f25ce2ca5ca75395ca25803fe766e9a4e5 (diff) | |
download | gst-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')
-rw-r--r-- | gst/playondemand/gstplayondemand.c | 3 |
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; |