flvmux: Add protection when unref GstFlvMuxPad
authorHou Qi <qi.hou@nxp.com>
Thu, 3 Mar 2022 06:22:10 +0000 (14:22 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 7 Mar 2022 13:03:16 +0000 (13:03 +0000)
commitb11084f7290eb8e4febf7a37617aa55719d37835
tree96cc20a023cf7f8aa2602cde2de9c3b5a52a7ae2
parent21f788918714c3cb8c312badb88e52eb02ac583f
flvmux: Add protection when unref GstFlvMuxPad

This is to avoid gst_object_unref: assertion 'object != NULL' failed.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1843>
subprojects/gst-plugins-good/gst/flv/gstflvmux.c