ntp: The clock inherits from GstNetClientClock, not just GstSystemClock
authorSebastian Dröge <sebastian@centricular.com>
Tue, 5 Jan 2016 11:41:08 +0000 (13:41 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 5 Jan 2016 11:41:08 +0000 (13:41 +0200)
libs/gst/net/gstnetclientclock.c

index 4cdd9a8..2d2c7f2 100644 (file)
@@ -1395,7 +1395,7 @@ gst_net_client_clock_new (const gchar * name, const gchar * remote_address,
   return ret;
 }
 
-G_DEFINE_TYPE (GstNtpClock, gst_ntp_clock, GST_TYPE_SYSTEM_CLOCK);
+G_DEFINE_TYPE (GstNtpClock, gst_ntp_clock, GST_TYPE_NET_CLIENT_CLOCK);
 
 static void
 gst_ntp_clock_class_init (GstNtpClockClass * klass)