appsrc: Post a bus error if a segment can't be applied
authorJan Schmidt <jan@centricular.com>
Mon, 10 Aug 2020 17:45:32 +0000 (03:45 +1000)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 11 Aug 2020 07:35:56 +0000 (07:35 +0000)
commitb18fd0f239e17ae4daf30eab11033cfbe72fe95d
tree55db47cc59af33e6735359a275dd59dd9541b561
parent42b3025bdc6103721da13ed14b982c98e235b9a8
appsrc: Post a bus error if a segment can't be applied

When applying segments from the input samples, post a bus
error and fail loudly if the segment fails to configure, instead of
just posting debug output.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/783>
gst-libs/gst/app/gstappsrc.c