srt: Avoid crash on unknown option
authorOlivier CrĂȘte <olivier.crete@collabora.com>
Tue, 3 Jan 2023 20:01:37 +0000 (15:01 -0500)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 4 Jan 2023 02:45:51 +0000 (02:45 +0000)
commitf45cfe0d53fb06deb0e61f19325bbf7123dcbc02
treeb5c237133c1f1498f853ec8093229d0cb3c80021
parent401ea9f683f2d55d570bc921ecc5bb7c82791eea
srt: Avoid crash on unknown option

Use the correct field that is null instead of the struct value which
never is.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3672>
subprojects/gst-plugins-bad/ext/srt/gstsrtobject.c