mpegtssection: events don't necessarily have a structure
This commit is contained in:
parent
1e72aa6e85
commit
f9c0367619
@ -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…
x
Reference in New Issue
Block a user