mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
mpegtssection: events don't necessarily have a structure
This commit is contained in:
parent
1e72aa6e85
commit
f9c0367619
1 changed files with 3 additions and 0 deletions
|
@ -402,6 +402,9 @@ gst_event_parse_mpegts_section (GstEvent * event)
|
|||
|
||||
structure = gst_event_get_structure (event);
|
||||
|
||||
if (!structure)
|
||||
return NULL;
|
||||
|
||||
if (!gst_structure_id_get (structure, QUARK_SECTION, MPEG_TYPE_TS_SECTION,
|
||||
§ion, NULL))
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue