dashsink: fix crash with no pad name for representation
authorStéphane Cerveau <scerveau@collabora.com>
Wed, 30 Jun 2021 08:30:43 +0000 (10:30 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 7 Jul 2021 13:50:35 +0000 (13:50 +0000)
commita8c2b658807367e52ddbb996e827bd90b642a304
treef6aa716bac1efb80eae9ae85fbe0d881a096bf71
parent506bd90bf770232da80ece095b45dcf6bab94137
dashsink: fix crash with no pad name for representation

if there is no pad name, the representation id
was NULL, causing a crash when writing the mpd file.

gst-launch-1.0 videotestsrc num-buffers=900 ! video/x-raw, width=800,
height=600, framerate=30/1 ! x264enc ! video/x-h264, profile=high !
dashsink

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2064>
ext/dash/gstdashsink.c