avwait: Don't wait if audio_running_time_to_wait_for is NONE
authorVivia Nikolaidou <vivia@ahiru.eu>
Wed, 1 Aug 2018 12:11:09 +0000 (15:11 +0300)
committerVivia Nikolaidou <vivia@ahiru.eu>
Wed, 1 Aug 2018 17:18:19 +0000 (20:18 +0300)
commit8ede252a8a3da38a63e1ce8a27a29313f29efc16
tree8c507109b9167e02794535bf263f298f86907592
parent60542ec97023166ddecfc888cfacb496f6340548
avwait: Don't wait if audio_running_time_to_wait_for is NONE

The case is properly handled a few lines below by dropping the buffer.
We shouldn't perpetually block the audio chain function until the
target-timecode is reached.

https://bugzilla.gnome.org/show_bug.cgi?id=796906
gst/timecode/gstavwait.c