diff --git a/src/lib/clapper/clapper-player.c b/src/lib/clapper/clapper-player.c index de1728f8..52f4e22c 100644 --- a/src/lib/clapper/clapper-player.c +++ b/src/lib/clapper/clapper-player.c @@ -726,6 +726,11 @@ _adaptive_demuxer_bandwidth_changed_cb (GstElement *adaptive_demuxer, g_object_get (adaptive_demuxer, "current-bandwidth", &bandwidth, NULL); + /* Skip uncalculated bandwidth from + * new adaptive demuxer instance */ + if (bandwidth == 0) + return; + GST_OBJECT_LOCK (self); if ((changed = bandwidth != self->bandwidth)) self->bandwidth = bandwidth;