Directly wait again if the source is not playing anymore after reconfiguring

This commit is contained in:
Sebastian Dröge 2021-11-22 10:22:12 +02:00
parent 87303fa05f
commit d4d8ca79cc

View file

@ -1767,6 +1767,8 @@ restart:
}
g_mutex_lock(&self->queue_lock);
if (!self->playing || self->shutdown) goto restart;
if (self->video_format == ::NTV2_FORMAT_UNKNOWN) {
GST_DEBUG_OBJECT(self, "No signal, waiting");
frames_dropped_last = G_MAXUINT64;