mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 22:05:58 +00:00
netclientclock: Remove some obsolete code that can cause warnings
This commit is contained in:
parent
7124e56bb5
commit
b2a111c19d
1 changed files with 0 additions and 10 deletions
|
@ -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 */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue