netclientclock: Remove some obsolete code that can cause warnings

This commit is contained in:
Sebastian Dröge 2016-03-09 16:06:58 +02:00
parent 7124e56bb5
commit b2a111c19d

View file

@ -1298,7 +1298,6 @@ gst_net_client_clock_constructed (GObject * object)
{
GstNetClientClock *self = GST_NET_CLIENT_CLOCK (object);
GstClock *internal_clock;
GstClockTime internal;
GList *l;
ClockCache *cache = NULL;
@ -1346,15 +1345,6 @@ gst_net_client_clock_constructed (GObject * object)
self->priv->internal_clock = internal_clock = cache->clock;
{
GstClockTime now = gst_clock_get_time (internal_clock);
if (GST_CLOCK_DIFF (now, self->priv->base_time) > 0 ||
GST_CLOCK_DIFF (now, self->priv->base_time + GST_SECOND) < 0) {
g_warning ("unable to set the base time, expect sync problems!");
}
}
/* all systems go, cap'n */
}