discoverer: Don't switch to PLAYING if we saw an error
authorEdward Hervey <edward@centricular.com>
Sat, 4 Nov 2017 18:48:13 +0000 (19:48 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Sat, 4 Nov 2017 18:48:13 +0000 (19:48 +0100)
commit89238f9de121ddb6680f9b195833c81ba254e3a4
tree5a7ab5d44d4a9b6e33da8dec619b7d7f72107480
parentfcf09c18f2198e77731bbbfc1983770ff2ab6aa6
discoverer: Don't switch to PLAYING if we saw an error

If we saw an error on the bus, we can't be guaranteed that element will
function properly anyway. Avoids weird state change races also
gst-libs/gst/pbutils/gstdiscoverer.c