mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue