basesink/src: Post an error message if ::start() fails
authorSebastian Dröge <sebastian@centricular.com>
Sat, 14 May 2016 14:31:51 +0000 (17:31 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 15 May 2016 08:04:25 +0000 (11:04 +0300)
commitd184e7a9a04ab55f7a742d3744e8ce8c12215e31
tree5e1b6b63628a30d97081bcf9b1f4d21af13b74f8
parent174a5e93e2f38f1d5f3aa14db558d24968f99ca2
basesink/src: Post an error message if ::start() fails

The subclass should do that already, but just in case do it ourselves too as a
fallback. Without this, e.g. playbin will just wait forever if this fails
because it is triggered as part of an ASYNC state change.
libs/gst/base/gstbasesink.c
libs/gst/base/gstbasesrc.c