Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4463>
/* fall through */
case GST_STATE_CHANGE_READY_TO_NULL:
GST_PLAY_SINK_LOCK (playsink);
- if (playsink->audiochain && playsink->audiochain->sink_volume) {
- /* remove our links to the volume elements when they were
- * provided by a sink */
+ if (playsink->audiochain) {
+ /* remove our links to the volume elements */
disconnect_audio_chain (playsink->audiochain, playsink);
if (playsink->audiochain->volume)
gst_object_unref (playsink->audiochain->volume);