webrtcechoprobe: return from _read() early if the probe is not configured yet
https://bugzilla.gnome.org/show_bug.cgi?id=780642
This commit is contained in:
parent
2be93e47ec
commit
da44fea1d1
@ -277,7 +277,8 @@ gst_webrtc_echo_probe_read (GstWebrtcEchoProbe * self, GstClockTime rec_time,
|
||||
|
||||
GST_WEBRTC_ECHO_PROBE_LOCK (self);
|
||||
|
||||
if (!GST_CLOCK_TIME_IS_VALID (self->latency))
|
||||
if (!GST_CLOCK_TIME_IS_VALID (self->latency) ||
|
||||
!GST_AUDIO_INFO_IS_VALID (&self->info))
|
||||
goto done;
|
||||
|
||||
/* In delay agnostic mode, just return 10ms of data */
|
||||
|
Loading…
x
Reference in New Issue
Block a user