gstplay: Do not error out on message parsing failures
authorPhilippe Normand <philn@igalia.com>
Mon, 7 Mar 2022 10:16:36 +0000 (10:16 +0000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 7 Mar 2022 11:03:41 +0000 (11:03 +0000)
commit84717c6d2a05d835a4d4e6c78965ee0b62148113
treebc229b60f7910f7364967258ba4d2d2ff17efc8c
parent027f4a56c0080e07f3396d403ccb05af97573932
gstplay: Do not error out on message parsing failures

Specially when parsing errors and warnings, the details field can be NULL and
the gst_structure_get() call would return FALSE in such cases, triggering false
positive errors.

Follow-up for #1063

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1869>
subprojects/gst-plugins-bad/gst-libs/gst/play/gstplay.c